# dev.inmo.micro_utils.repos.ktor.client.key.values

# Package-level declarations

## Types

KtorKeyValuesRepoClient
Link copied to clipboard
class KtorKeyValuesRepoClient < Key , Value >(readDelegate: ReadKeyValuesRepo < Key , Value >, writeDelegate: WriteKeyValuesRepo < Key , Value >) : KeyValuesRepo < Key , Value >
KtorReadKeyValuesRepoClient
Link copied to clipboard
class KtorReadKeyValuesRepoClient < Key , Value >(baseUrl: String , httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, paginationResultValuesTypeInfo: <Error class: unknown class>, paginationResultKeysTypeInfo: <Error class: unknown class>, keySerializer: suspend ( Key ) -> String , valueSerializer: suspend ( Value ) -> String ) : ReadKeyValuesRepo < Key , Value >
KtorWriteKeyValuesRepoClient
Link copied to clipboard
class KtorWriteKeyValuesRepoClient < Key : Any , Value : Any >(baseUrl: String , httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, val onNewValue: Flow< Pair < Key , Value >>, val onValueRemoved: Flow< Pair < Key , Value >>, val onDataCleared: Flow< Key >, keyTypeInfo: <Error class: unknown class>, valueTypeInfo: <Error class: unknown class>, keyToValuesMapTypeInfo: <Error class: unknown class>) : WriteKeyValuesRepo < Key , Value >

## Functions

KtorKeyValuesRepoClient
Link copied to clipboard
inline fun < Key : Any , Value : Any > KtorKeyValuesRepoClient (baseUrl: String , httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, keySerializer: SerializationStrategy< Key >, valueSerializer: SerializationStrategy< Value >, serialFormat: BinaryFormat, onNewValue: Flow< Pair < Key , Value >> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onNewValueRoute), ), onValueRemoved: Flow< Pair < Key , Value >> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onValueRemovedRoute), ), onDataCleared: Flow< Key > = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onDataClearedRoute), )): KtorKeyValuesRepoClient < Key , Value >
inline fun < Key : Any , Value : Any > KtorKeyValuesRepoClient (baseUrl: String , httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, keySerializer: SerializationStrategy< Key >, valueSerializer: SerializationStrategy< Value >, serialFormat: StringFormat, onNewValue: Flow< Pair < Key , Value >> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onNewValueRoute), ), onValueRemoved: Flow< Pair < Key , Value >> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onValueRemovedRoute), ), onDataCleared: Flow< Key > = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onDataClearedRoute), )): KtorKeyValuesRepoClient < Key , Value >
KtorReadKeyValuesRepoClient
Link copied to clipboard
inline fun < Key , Value > KtorReadKeyValuesRepoClient (baseUrl: String , httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline keySerializer: suspend ( Key ) -> String , noinline valueSerializer: suspend ( Value ) -> String ): KtorReadKeyValuesRepoClient < Key , Value >
inline fun < Key , Value > KtorReadKeyValuesRepoClient (baseUrl: String , httpClient: <Error class: unknown class>, idsSerializer: KSerializer< Key >, valuesSerializer: KSerializer< Value >, serialFormat: BinaryFormat, contentType: <Error class: unknown class>): KtorReadKeyValuesRepoClient < Key , Value >
inline fun < Key , Value > KtorReadKeyValuesRepoClient (baseUrl: String , httpClient: <Error class: unknown class>, idsSerializer: KSerializer< Key >, valueSerializer: KSerializer< Value >, serialFormat: StringFormat, contentType: <Error class: unknown class>): KtorReadKeyValuesRepoClient < Key , Value >