PolyHandler

data class PolyHandler @JvmOverloads constructor(val http: <Error class: unknown class>? = null, val ws: WsHandler? = null, val sse: SseHandler? = null)

A PolyHandler represents the combined routing logic of an multiple protocol handlers

Constructors

Link copied to clipboard
constructor(http: <Error class: unknown class>? = null, ws: WsHandler? = null, sse: SseHandler? = null)

Properties

Link copied to clipboard
val http: <Error class: unknown class>? = null
Link copied to clipboard
val sse: SseHandler? = null
Link copied to clipboard
val ws: WsHandler? = null

Functions

Link copied to clipboard
fun PolyHandler.asServer(config: PolyServerConfig): Http4kServer
Link copied to clipboard
fun PolyHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): PolyHandler
Link copied to clipboard
fun PolyHandler.testHttpClient(request: Request): <Error class: unknown class>
Link copied to clipboard
fun PolyHandler.testSseClient(request: Request): TestSseClient
Link copied to clipboard
fun PolyHandler.testWsClient(request: Request): TestWsClient