PlatformModule

expect class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger = EmptyLogger)

Provides platform-specific dependencies for the SDK.

actual class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual class PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)

Constructors

Link copied to clipboard
expect fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger = EmptyLogger)
actual fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)
actual fun PlatformModule(configurationContainer: HueConfigurationContainer, json: Json, logger: KimchiLogger)

Functions

Link copied to clipboard
fun applyPlatformConfiguration(builder: OkHttpClient.Builder, securityStrategy: SecurityStrategy): OkHttpClient.Builder
Link copied to clipboard
expect fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>

Create Ktor http engine based on the platform.

actual fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>
actual fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>
actual fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>
actual fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>
actual fun createEngine(securityStrategy: SecurityStrategy): HttpClientEngineFactory<*>

Properties

Link copied to clipboard