Maxwell.Builder.Middleware (maxwell v2.4.0) View Source
Methods for setting up middlewares.
Link to this section Summary
Functions
Build middleware macro.
Link to this section Functions
Build middleware macro.
middleware- middleware module, for example:Maxwell.Middleware.Json.opts- options setting in compile time, default is[], for example:[encode_func: &Poison.encode/1].
Examples
@middleware Middleware.Module, []