PolyFilter

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
@JvmName(name = "sseHandlerAsServer")
fun SseHandler.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "wsHandlerAsServer")
fun WsHandler.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "sseConsumerAsServer")
fun SseConsumer.asServer(config: PolyServerConfig): Http4kServer
@JvmName(name = "wsConsumerAsServer")
fun WsConsumer.asServer(config: PolyServerConfig): Http4kServer
Link copied to clipboard
fun SseHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (Request) -> SseResponse
fun WsHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (Request) -> WsResponse
Link copied to clipboard
abstract operator fun invoke(p1: PolyHandler): PolyHandler
Link copied to clipboard
fun SseHandler.testSseClient(request: Request): TestSseClient
Link copied to clipboard
fun WsHandler.testWebsocket(request: Request): Websocket
Link copied to clipboard
fun WsHandler.testWsClient(request: Request): TestWsClient
Link copied to clipboard