Package-level declarations
Types
Provides a HttpClient that has all the needed configurations to talk with a Wire backend, like Serialization, and Content Negotiation. It's Authenticated, and will use the provided SessionManager to fill necessary Authentication headers, and refresh tokens as they expire.
HttpClient with WebSocket (ws or wss) capabilities. It's Authenticated, and will use the provided SessionManager to fill necessary Authentication headers, and refresh tokens as they expire.
Fails the requests of the clients it is installed on, in flight and new, while failRequests runs. A failed request throws an IOException, which callers treat as no network, so it also ends a crypto transaction that waits on it. The caller's own cancellation still wins.
A client's logging plugin.
Upon request, creates normal WebSocket, but wraps the listener to add logging.
Provides a HttpClient that has all the needed configurations to talk with a Wire backend, like Serialization, and Content Negotiation.
Provides a HttpClient that has all the needed configurations to talk with a Wire backend, like Serialization, and Content Negotiation. Unlike others, this one has no strict ties with any API version nor default Base Url
Properties
Functions
Adds session-local authentication to the SOCKS routing installed by Ktor before this callback.
A network interceptor (added via OkHttpClient.Builder.addNetworkInterceptor) that hands the fully-prepared request and raw response - including bodies - to observer, then forwards them unmodified (aside from re-wrapping the response body, which OkHttp requires once its bytes have been read for inspection).