Package dev.inmo.micro_utils.repos.ktor.server.one_to_many

Functions

Link copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyKeyValueRepoRoutes(baseSubpart: String, originalRepo: OneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
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>
Link copied to clipboard
fun <Key, Value> <ERROR CLASS>.configureOneToManyReadKeyValueRepoRoutes(originalRepo: ReadOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
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>
fun <Key, Value> <ERROR CLASS>.configureOneToManyWriteKeyValueRepoRoutes(originalRepo: WriteOneToManyKeyValueRepo<Key, Value>, keySerializer: KSerializer<Key>, valueSerializer: KSerializer<Value>, unifiedRouter: UnifiedRouter)
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>