Package-level declarations
Types
A hook that can be registered in ClientPluginBuilder.
Client plugins factory.
An utility class used to build a ClientPlugin instance.
An instance of ClientPlugin that can be installed into HttpClient.
A shortcut hook for HttpClient.monitor subscription.
A context for ClientPluginBuilder.onRequest callback.
A context for ClientPluginBuilder.onResponse callback.
A hook that can inspect response and initiate additional requests if needed. Useful for handling redirects, retries, authentication, etc.
A hook that is executed for every request, even if it's not user initiated. For example, if a request results in redirect, ClientPluginBuilder.onRequest will be executed only for the original request, but this hook will be executed for both original and redirected requests.
A hook that executes first in request processing.
A context for ClientPluginBuilder.transformRequestBody callback.
A context for ClientPluginBuilder.transformResponseBody callback.
Functions
Creates a ClientPlugin with empty config that can be installed into an HttpClient.
Creates a ClientPlugin that can be installed into an HttpClient.