JsClientEngineConfig

actual open class JsClientEngineConfig : HttpClientEngineConfig(source)

Configuration for the Js client.

Report a problem

actual open class JsClientEngineConfig : HttpClientEngineConfig(source)

Configuration for the Js client.

Report a problem

expect open class JsClientEngineConfig : HttpClientEngineConfig(source)

Configuration for the Js client.

Report a problem

Constructors

Link copied to clipboard
constructor()
constructor()

Properties

dispatcher
Link copied to clipboard

Allow specifying the coroutine dispatcher to use for IO operations.

Allow specifying the coroutine dispatcher to use for IO operations.

Allow specifying the coroutine dispatcher to use for IO operations.

fetch
Link copied to clipboard
var fetch: (String, RequestInit?) -> Promise<Response>

Allows overriding which function is used to execute requests.

var fetch: (String, RequestInit?) -> Promise<Response>

Allows overriding which function is used to execute requests.

nodeOptions
Link copied to clipboard
var nodeOptions: dynamic

An Object which can contain additional configuration options that should get passed to node-fetch.

An Object which can contain additional configuration options that should get passed to node-fetch.

pipelining
Link copied to clipboard

Enables HTTP pipelining advice.

Enables HTTP pipelining advice.

Enables HTTP pipelining advice.

proxy
Link copied to clipboard
var proxy: ProxyConfig?

Specifies a proxy address to use. Uses a system proxy by default.

var proxy: ProxyConfig?

Specifies a proxy address to use. Uses a system proxy by default.

Specifies a proxy address to use. Uses a system proxy by default.

threadsCount
Link copied to clipboard

Specifies network threads count advice.

Specifies network threads count advice.

Specifies network threads count advice.

Functions

configureRequest
Link copied to clipboard

Provides access to the underlying fetch options of the engine. It allows setting credentials, cache, mode, redirect, referrer, integrity, keepalive, signal, window.

Provides access to the underlying fetch options of the engine. It allows setting credentials, cache, mode, redirect, referrer, integrity, keepalive, signal, window.