HTTPX v0.0.4 HTTPX.Auth behaviour View Source

Authorization support for HTTP request.

Can be used for basic auth, HMAC auth, etc.

Link to this section Summary

Callbacks

Authorizes a HTTP request using the given method, headers, body, and options

Link to this section Callbacks

Link to this callback auth(atom, arg1, list, arg3, keyword) View Source
auth(atom, String.t, [{String.t, String.t}], String.t, keyword) :: [{String.t, String.t}]

Authorizes a HTTP request using the given method, headers, body, and options.