Package-level declarations
Types
List of CacheControl known values.
Concrete OutgoingContent without a payload.
Utility class containing response and fail reasons for an HttpResponseReceiveFailed event.
Properties
Size of each buffer in the HttpClientDefaultPool.
Maximum number of buffers to be allocated in the HttpClientDefaultPool.
Singleton pool of ByteBuffer objects used for HttpClient.
Occurs after the creation of a new request
Occurs before sending the request, and after execution of all interceptors.
Occurs when the response is cancelled due to an exception.
Occurs after responses headers have been received.
Occurs when an exception is thrown during receiving of body.
Functions
Creates CoroutineDispatcher for the client with fixed threadCount and specified dispatcherName.
Creates CoroutineDispatcher for client with fixed threadCount and specified dispatcherName.
Creates CoroutineDispatcher based on thread pool of threadCount threads.
Creates CoroutineDispatcher for client with fixed threadCount and specified dispatcherName.
This function should be used for engines which apply decompression but don't drop compression headers (like js and Curl) to make sure all the plugins and checks work with the correct content length and encoding.
If the exception contains cause that differs from CancellationException returns it otherwise returns itself.
If the exception contains cause that differs from CancellationException returns it otherwise returns itself.
If the exception contains cause that differs from CancellationException returns it otherwise returns itself.
If the exception contains cause that differs from CancellationException returns it otherwise returns itself.
Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block.