abstract class HttpClientJvmEngine : HttpClientEngine
Base jvm implementation for HttpClientEngine
HttpClientJvmEngine(engineName: String)
Base jvm implementation for HttpClientEngine |
open val coroutineContext: <ERROR CLASS> |
|
open val dispatcher: CoroutineDispatcher
CoroutineDispatcher specified for io operations. |
abstract val config: HttpClientEngineConfig
Engine configuration |
|
open val supportedCapabilities: Set<HttpClientEngineCapability<*>>
Set of supported engine extensions. |
open fun close(): Unit |
|
suspend fun createCallContext(): <ERROR CLASS>
Create CoroutineContext to execute call. |
abstract suspend fun execute(data: HttpRequestData): HttpResponseData
Creates a new HttpClientCall specific for this engine, using a request data. |
|
open fun install(client: HttpClient): Unit
Install engine into HttpClient. |
fun CoroutineScope.mapEngineExceptions(input: ByteReadChannel, request: HttpRequestData): ByteReadChannel
Returns ByteReadChannel with ByteChannel.close handler that returns SocketTimeoutException instead of SocketTimeoutException. fun CoroutineScope.mapEngineExceptions(output: ByteWriteChannel, request: HttpRequestData): ByteWriteChannel
Returns ByteWriteChannel with ByteChannel.close handler that returns SocketTimeoutException instead of SocketTimeoutException. |