# Companion

object Companion (source)

## Functions

invoke
Link copied to clipboard
inline operator fun < Key : Any , Value : Any > invoke (baseUrl: String , httpClient: ERROR CLASS: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, 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: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, 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 >