ReverseProxyPlug.HTTPClient behaviour (reverse_proxy_plug v2.0.0) View Source
Behaviour defining the HTTP client interface needed for reverse proxying.
Link to this section Summary
Link to this section Types
Specs
error() :: ReverseProxyPlug.HTTPClient.Error.t()
Link to this section Callbacks
Specs
request(ReverseProxyPlug.HTTPClient.Request.t()) :: {:ok, ReverseProxyPlug.HTTPClient.Response.t() | ReverseProxyPlug.HTTPClient.AsyncResponse.t() | ReverseProxyPlug.HTTPClient.MaybeRedirect.t()} | {:error, error()}