HTTPX.Process (HTTPX v0.1.4) View Source
HTTPX process module.
Applies all processors to the HTTPX request.
Link to this section Summary
Functions
Optimizes the HTTPX.Process module, unless config :httpx, dynamic: true.
Apply all post parse processors.
Apply all post request processors.
Apply all pre request processors.
Link to this section Functions
Specs
optimize() :: :ok
Optimizes the HTTPX.Process module, unless config :httpx, dynamic: true.
The optimization involves optimizing the calls to all processors.
Specs
post_parse({:ok, HTTPX.Response.t()}) ::
{:ok, HTTPX.Response.t()} | {:error, term()}
Apply all post parse processors.
Specs
Apply all post request processors.
Specs
pre_request(HTTPX.Request.t()) :: HTTPX.Request.t() | {:error, term()}
Apply all pre request processors.