UnifiedRouter

class UnifiedRouter(serialFormat: StandardKtorSerialFormat, serialFormatContentType: <ERROR CLASS>)

Functions

Link copied to clipboard
fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.decodeUrlQueryValue(field: String, deserializer: DeserializationStrategy<T>): <ERROR CLASS>
Link copied to clipboard
suspend fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.decodeUrlQueryValueOrSendError(field: String, deserializer: DeserializationStrategy<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: SerializationStrategy<T>, protocol: <ERROR CLASS> = URLProtocol.WS, 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: SerializationStrategy<T>, answer: T)
Link copied to clipboard
suspend fun <T> <ERROR CLASS><out <ERROR CLASS>, <ERROR CLASS>>.uniload(deserializer: DeserializationStrategy<T>): <ERROR CLASS>

Properties

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