toggle menu
apollo-kdoc
4.1.1-SNAPSHOT
4.1.1-SNAPSHOT
3.8.2
jvm
switch theme
search in API
apollo-runtime-java
/
com.apollographql.apollo.runtime.java.network.http.internal
/
OkHttpHttpEngine
Ok
Http
Http
Engine
open
class
OkHttpHttpEngine
:
HttpEngine
Members
Constructors
Ok
Http
Http
Engine
Link copied to clipboard
constructor
(
okHttpCallFactory
:
Call.Factory
)
constructor
(
connectTimeout
:
Long
,
readTimeout
:
Long
)
Functions
dispose
Link copied to clipboard
open
fun
dispose
(
)
Disposes any resources used by the HttpEngine Use this to dispose a connection pool for example.
execute
Link copied to clipboard
open
fun
execute
(
@
NotNull
request
:
HttpRequest
,
@
NotNull
callback
:
HttpCallback
,
@
NotNull
disposable
:
ApolloDisposable
)
Executes the given HttpRequest