nativeMain.com.algolia.client.configuration.internal.Platform.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.internal
import com.algolia.client.configuration.AgentSegment
import com.algolia.client.configuration.ClientOptions
import io.ktor.client.*
import kotlin.experimental.ExperimentalNativeApi
internal actual fun platformAgentSegment(): AgentSegment {
@OptIn(ExperimentalNativeApi::class)
val os = "${Platform.osFamily.name} (${Platform.cpuArchitecture.name})"
return AgentSegment(os)
}
internal actual fun HttpClientConfig<*>.platformConfig(options: ClientOptions) {
// NO-OP
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy