Package-level declarations
Types
Link copied to clipboard
class KtorKeyValuesRepoClient<Key, Value>(readDelegate: ReadKeyValuesRepo<Key, Value>, writeDelegate: WriteKeyValuesRepo<Key, Value>) : KeyValuesRepo<Key, Value>
Link copied to clipboard
class KtorReadKeyValuesRepoClient<Key, Value>(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, paginationResultValuesTypeInfo: ERROR CLASS: Symbol not found for TypeInfo, paginationResultKeysTypeInfo: ERROR CLASS: Symbol not found for TypeInfo, keySerializer: suspend (Key) -> String, valueSerializer: suspend (Value) -> String) : ReadKeyValuesRepo<Key, Value>
Link copied to clipboard
class KtorWriteKeyValuesRepoClient<Key : Any, Value : Any>(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, val onNewValue: Flow<Pair<Key, Value>>, val onValueRemoved: Flow<Pair<Key, Value>>, val onDataCleared: Flow<Key>, keyTypeInfo: ERROR CLASS: Symbol not found for TypeInfo, valueTypeInfo: ERROR CLASS: Symbol not found for TypeInfo, keyToValuesMapTypeInfo: ERROR CLASS: Symbol not found for TypeInfo) : WriteKeyValuesRepo<Key, Value>
Functions
Link copied to clipboard
inline fun <Key : Any, Value : Any> KtorKeyValuesRepoClient(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, 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: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, 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>
Link copied to clipboard
inline fun <Key, Value> KtorReadKeyValuesRepoClient(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, contentType: ERROR CLASS: Symbol not found for ContentType, noinline keySerializer: suspend (Key) -> String, noinline valueSerializer: suspend (Value) -> String): KtorReadKeyValuesRepoClient<Key, Value>
inline fun <Key, Value> KtorReadKeyValuesRepoClient(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, idsSerializer: KSerializer<Key>, valuesSerializer: KSerializer<Value>, serialFormat: BinaryFormat, contentType: ERROR CLASS: Symbol not found for ContentType): KtorReadKeyValuesRepoClient<Key, Value>
inline fun <Key, Value> KtorReadKeyValuesRepoClient(baseUrl: String, httpClient: ERROR CLASS: Symbol not found for HttpClient, idsSerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, serialFormat: StringFormat, contentType: ERROR CLASS: Symbol not found for ContentType): KtorReadKeyValuesRepoClient<Key, Value>