maxwell v1.0.1 API Reference
Modules
defmodule Client do
Example see Maxwell.Adapter.Ibrowse
hackney adapter
ibrowse adapter
Example see Maxwell.Middleware.BaseUrl
#Client.ex
use Maxwell.Builder ~(get)a
@middleware Maxwell.Middleware.BaseUrl "http{s}://example.com"
Decode reponse's body to json when
Decode reponse's body's rels ```ex
Client.ex
use Maxwell.Builder ~(get)a @middleware Maxwell.Middleware.DecodeRels ```
Encode request's body to json when request's body is not nil
Add fixed headers to request's headers
Passthrough adapter's options (keyword list) to adapter's options
Process mutipart for adapter
Exceptions
Exception %Maxwell.Error{value: nil, message: nil}