Ktor
Toggle table of contents
3.3.x
Select version
3.4.x
3.3.x
3.2.x
3.1.x
3.0.x
2.3.x
2.2.x
2.0.x
1.6.x
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Ktor
ktor-client-okhttp
/
io.ktor.client.engine.okhttp
/
OkHttpEngine
Ok
Http
Engine
class
OkHttpEngine
(
val
config
:
OkHttpConfig
)
:
HttpClientEngineBase
(
source
)
Members
Constructors
Ok
Http
Engine
Link copied to clipboard
constructor
(
config
:
OkHttpConfig
)
Properties
config
Link copied to clipboard
open
override
val
config
:
OkHttpConfig
coroutine
Context
Link copied to clipboard
open
override
val
coroutineContext
:
CoroutineContext
dispatcher
Link copied to clipboard
open
override
val
dispatcher
:
CoroutineDispatcher
supported
Capabilities
Link copied to clipboard
open
override
val
supportedCapabilities
:
Set
<
HttpClientEngineCapability
<
*
>
>
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
execute
Link copied to clipboard
open
suspend override
fun
execute
(
data
:
HttpRequestData
)
:
HttpResponseData
install
Link copied to clipboard
open
fun
install
(
client
:
HttpClient
)