# Companion

object Companion (source)

## Functions

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