Companion

object Companion

Functions

Link copied to clipboard
inline operator fun <Key : Any, Value : Any> invoke(baseUrl: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline keySerializer: suspend (Key) -> String, 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), ), noinline valueSerializer: suspend (Value) -> String): KtorKeyValuesRepoClient<Key, Value>
inline operator fun <Key : Any, Value : Any> invoke(baseUrl: String, subpart: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline keySerializer: suspend (Key) -> String, 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), ), noinline valueSerializer: suspend (Value) -> String): KtorKeyValuesRepoClient<Key, Value>