AndroidEngineConfig

class AndroidEngineConfig : HttpClientEngineConfig

Configuration for Android client engine.

Constructors

<init>

AndroidEngineConfig()

Configuration for Android client engine.

Properties

connectTimeout

var connectTimeout: Int

Max milliseconds to establish an HTTP connection - default 10 seconds. A value of 0 represents infinite.

proxy

var proxy: Proxy?

Proxy address to use - default {@link #openConnection java.net.URL:URL.openConnection}

requestConfig

var requestConfig: HttpURLConnection.() -> Unit

Engine specific request configuration.

socketTimeout

var socketTimeout: Int

Max milliseconds between TCP packets - default 10 seconds. A value of 0 represents infinite.

sslManager

var sslManager: (HttpsURLConnection) -> Unit

Https connection manipulator. inherited methods are not permitted.

Inherited Properties

dispatcher

var dispatcher: CoroutineDispatcher?

The CoroutineDispatcher that will be used for the client requests.

pipelining

var pipelining: Boolean

Enable http pipelining advice.

response

val response: HttpResponseConfig

Configuration for http response.

threadsCount

var threadsCount: Int

Network threads count advice.