Send

A hook that can inspect response and initiate additional requests if needed. Useful for handling redirects, retries, authentication, etc.

Types

Link copied to clipboard
class Sender : CoroutineScope

Functions

Link copied to clipboard
open override fun install(client: HttpClient, handler: suspend Send.Sender.(HttpRequestBuilder) -> HttpClientCall)

Specifies how to install a hook into client.