HttpClientEngine

interface HttpClientEngine : CoroutineScope, Closeable

Serves as the base interface for an HttpClient's engine.

Functions

Link copied to clipboard
expect abstract fun close()
Link copied to clipboard
abstract suspend fun execute(data: HttpRequestData): HttpResponseData

Creates a new HttpClientCall specific for this engine, using a request data.

Link copied to clipboard
open fun install(client: HttpClient)

Installs the engine to HttpClient.

Properties

Link copied to clipboard

Provides access to an engine's configuration.

Link copied to clipboard
Link copied to clipboard
abstract val dispatcher: CoroutineDispatcher

Specifies CoroutineDispatcher for I/O operations.

Link copied to clipboard

Set of supported engine extensions.

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard