UnifiedRouter

class UnifiedRouter(val serialFormat: <ERROR CLASS> = standardKtorSerialFormat, val serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType)

Constructors

Link copied to clipboard
fun UnifiedRouter(serialFormat: <ERROR CLASS> = standardKtorSerialFormat, serialFormatContentType: <ERROR CLASS> = standardKtorSerialFormatContentType)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.decodeUrlQueryValue(field: String, deserializer: <ERROR CLASS><T>): <ERROR CLASS>
Link copied to clipboard
suspend fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.decodeUrlQueryValueOrSendError(field: String, deserializer: <ERROR CLASS><T>): <ERROR CLASS>
Link copied to clipboard
suspend fun <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.getParameterOrSendError(field: String): <ERROR CLASS>
Link copied to clipboard
fun <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.getQueryParameter(field: String): <ERROR CLASS>
Link copied to clipboard
suspend fun <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.getQueryParameterOrSendError(field: String): <ERROR CLASS>
Link copied to clipboard
fun <T> <ERROR CLASS>.includeWebsocketHandling(    suburl: String,     flow: Flow<T>,     serializer: <ERROR CLASS><T>,     protocol: <ERROR CLASS>? = null,     filter: suspend <ERROR CLASS>.(T) -> Boolean? = null): <ERROR CLASS>
Link copied to clipboard
suspend fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.unianswer(answerSerializer: <ERROR CLASS><T>, answer: T)
Link copied to clipboard
suspend fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.uniload(deserializer: <ERROR CLASS><T>): <ERROR CLASS>

Properties

Link copied to clipboard
val serialFormat: <ERROR CLASS>
Link copied to clipboard
val serialFormatContentType: <ERROR CLASS>