HttpClientJvmEngine

abstract class HttpClientJvmEngine(engineName: String) : HttpClientEngine

Base jvm implementation for HttpClientEngine

Constructors

Link copied to clipboard
fun HttpClientJvmEngine(engineName: String)

Functions

Link copied to clipboard
open override 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)

Install engine into HttpClient.

Properties

Link copied to clipboard
abstract val config: HttpClientEngineConfig

Engine configuration

Link copied to clipboard
open override val coroutineContext: CoroutineContext
Link copied to clipboard
open override val dispatcher: CoroutineDispatcher

CoroutineDispatcher specified for io operations.

Link copied to clipboard
open val supportedCapabilities: Set<HttpClientEngineCapability<*>>

Set of supported engine extensions.