Package dev. inmo. micro_utils. repos. ktor. server. one_to_many
Functions
configure One To Many Key Value Repo Routes
Link copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyKeyValueRepoRoutes(baseSubpart: String, originalRepo: OneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyKeyValueRepoRoutes(baseSubpart: String, originalRepo: OneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard
configure One To Many Read Key Value Repo Routes
Link copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyReadKeyValueRepoRoutes(originalRepo: ReadOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
inline fun <Key, Value> <ERROR CLASS>.configureOneToManyReadKeyValueRepoRoutes(originalRepo: ReadOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard
configure One To Many Write Key Value Repo Routes
Link copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyWriteKeyValueRepoRoutes(originalRepo: WriteOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
Content copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyWriteKeyValueRepoRoutes(originalRepo: WriteOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType): <ERROR CLASS>
Content copied to clipboard