ktor-client-okhttp
Module Contents
alltypes
Module Contents
object
OkHttp
:
HttpClientEngineFactory
<
OkHttpConfig
>
Module Contents
fun
create
(
block
:
OkHttpConfig
.
(
)
->
Unit
)
:
HttpClientEngine
class
OkHttpConfig
:
HttpClientEngineConfig
Module Contents
OkHttpConfig
(
)
fun
addInterceptor
(
interceptor
:
Interceptor
)
:
Unit
fun
addNetworkInterceptor
(
interceptor
:
Interceptor
)
:
Unit
var
clientCacheSize
:
Int
fun
config
(
block
:
Builder
.
(
)
->
Unit
)
:
Unit
var
preconfigured
:
OkHttpClient
?
var
webSocketFactory
:
Factory
?
class
OkHttpEngine
:
HttpClientEngineBase
Module Contents
OkHttpEngine
(
config
:
OkHttpConfig
)
fun
close
(
)
:
Unit
val
config
:
OkHttpConfig
val
coroutineContext
:
<ERROR CLASS>
val
dispatcher
:
CoroutineDispatcher
suspend
fun
execute
(
data
:
HttpRequestData
)
:
HttpResponseData
val
supportedCapabilities
:
Set
<
HttpClientEngineCapability
<
*
>
>
class
OkHttpEngineContainer
:
HttpClientEngineContainer
Module Contents
OkHttpEngineContainer
(
)
val
factory
:
HttpClientEngineFactory
<
*
>
fun
toString
(
)
:
String
class
UnsupportedFrameTypeException
:
IllegalArgumentException
,
CopyableThrowable
<
UnsupportedFrameTypeException
>
Module Contents
UnsupportedFrameTypeException
(
frame
:
Frame
)
fun
createCopy
(
)
:
UnsupportedFrameTypeException
?
package
io.ktor.client.engine.okhttp
Module Contents
object
OkHttp
:
HttpClientEngineFactory
<
OkHttpConfig
>
Module Contents
fun
create
(
block
:
OkHttpConfig
.
(
)
->
Unit
)
:
HttpClientEngine
class
OkHttpConfig
:
HttpClientEngineConfig
Module Contents
OkHttpConfig
(
)
fun
addInterceptor
(
interceptor
:
Interceptor
)
:
Unit
fun
addNetworkInterceptor
(
interceptor
:
Interceptor
)
:
Unit
var
clientCacheSize
:
Int
fun
config
(
block
:
Builder
.
(
)
->
Unit
)
:
Unit
var
preconfigured
:
OkHttpClient
?
var
webSocketFactory
:
Factory
?
class
OkHttpEngine
:
HttpClientEngineBase
Module Contents
OkHttpEngine
(
config
:
OkHttpConfig
)
fun
close
(
)
:
Unit
val
config
:
OkHttpConfig
val
coroutineContext
:
<ERROR CLASS>
val
dispatcher
:
CoroutineDispatcher
suspend
fun
execute
(
data
:
HttpRequestData
)
:
HttpResponseData
val
supportedCapabilities
:
Set
<
HttpClientEngineCapability
<
*
>
>
class
OkHttpEngineContainer
:
HttpClientEngineContainer
Module Contents
OkHttpEngineContainer
(
)
val
factory
:
HttpClientEngineFactory
<
*
>
fun
toString
(
)
:
String
class
UnsupportedFrameTypeException
:
IllegalArgumentException
,
CopyableThrowable
<
UnsupportedFrameTypeException
>
Module Contents
UnsupportedFrameTypeException
(
frame
:
Frame
)
fun
createCopy
(
)
:
UnsupportedFrameTypeException
?