Package io.ktor.client.utils
Types
List of CacheControl known values.
Concrete OutgoingContent without a payload.
Utility class containing response and fail reasons for an HttpResponseReceiveFailed event.
Functions
Creates CoroutineDispatcher for 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.
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.
Properties
Singleton pool of ByteBuffer objects used for HttpClient.