nativeMain.com.algolia.client.configuration.ClientOptions.native.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of algoliasearch-client-kotlin Show documentation
Show all versions of algoliasearch-client-kotlin Show documentation
"Algolia is a powerful search-as-a-service solution, made easy to use with API clients, UI libraries, and pre-built integrations. Algolia API Client for Kotlin lets you easily use the Algolia Search REST API from your JVM project, such as Android or backend implementations."
package com.algolia.client.configuration
import com.algolia.client.configuration.internal.buildJson
import com.algolia.client.transport.Requester
import io.ktor.client.*
import io.ktor.client.engine.*
import io.ktor.client.plugins.logging.*
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonBuilder
import kotlin.time.Duration
public actual class ClientOptions actual constructor(
public actual val connectTimeout: Duration,
public actual val writeTimeout: Duration,
public actual val readTimeout: Duration,
public actual val logLevel: LogLevel,
public actual val logger: Logger,
public actual val hosts: List?,
public actual val defaultHeaders: Map?,
public actual val engine: HttpClientEngine?,
public actual val httpClientConfig: ((HttpClientConfig<*>) -> Unit)?,
jsonConfig: ((JsonBuilder) -> Unit)?,
public actual val requester: Requester?,
public actual val algoliaAgentSegments: List
) {
public actual val json: Json = buildJson(jsonConfig)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy