Companion

Functions

Link copied to clipboard
inline operator fun <Key, Value> invoke(baseUrl: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline idSerializer: suspend (Key) -> String, onNewValue: Flow<Pair<Key, Value>> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onNewValueRoute), ), onValueRemoved: Flow<Key> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onValueRemovedRoute), ), noinline valueSerializer: suspend (Value) -> String): KtorKeyValueRepoClient<Key, Value>
inline operator fun <Key, Value> invoke(baseUrl: String, subpart: String, httpClient: <Error class: unknown class>, contentType: <Error class: unknown class>, noinline idSerializer: suspend (Key) -> String, onNewValue: Flow<Pair<Key, Value>> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onNewValueRoute), ), onValueRemoved: Flow<Key> = httpClient.createStandardWebsocketFlow( buildStandardUrl(baseUrl, onValueRemovedRoute), ), noinline valueSerializer: suspend (Value) -> String): KtorKeyValueRepoClient<Key, Value>