Package-level declarations

Properties

Link copied to clipboard
private const val DEFAULT_TIMEOUT_MILLIS: Long

Exposes the DEFAULT_TIMEOUT_MILLIS value used by the SDAI network layer.

Link copied to clipboard

Exposes the defaultNetworkJson value used by the SDAI network layer.

Functions

Link copied to clipboard
fun createConfiguredHttpClient(json: Json = defaultNetworkJson, installContentNegotiation: Boolean = true, configure: HttpClientConfig<HttpClientEngineConfig>.() -> Unit = {}): HttpClient

Creates the SDAI value produced by createConfiguredHttpClient.

Link copied to clipboard
actual fun platformHttpClientEngine(): HttpClientEngineFactory<HttpClientEngineConfig>

Executes the platformHttpClientEngine step in the SDAI network layer.

expect fun platformHttpClientEngine(): HttpClientEngineFactory<HttpClientEngineConfig>

Executes the platformHttpClientEngine step in the SDAI network layer.

actual fun platformHttpClientEngine(): HttpClientEngineFactory<HttpClientEngineConfig>

Executes the platformHttpClientEngine step in the SDAI network layer.