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)
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
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
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