RoutingSseHandler

class RoutingSseHandler(routes: List<RouteMatcher<SseResponse, SseFilter>>) : RoutingHandler<SseResponse, SseFilter, RoutingSseHandler> (source)

Constructors

Link copied to clipboard
constructor(routes: List<RouteMatcher<SseResponse, SseFilter>>)

Properties

Link copied to clipboard
val routes: List<RouteMatcher<SseResponse, SseFilter>>

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): SseHandler
fun WsHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): WsHandler
fun RoutingSseHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): RoutingSseHandler
Link copied to clipboard
open operator override fun invoke(request: Request): SseResponse
Link copied to clipboard
open override fun match(request: Request): RoutingMatch<SseResponse>
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
open override fun toString(): String
Link copied to clipboard
open override fun withBasePath(prefix: String): RoutingSseHandler
Link copied to clipboard
open override fun withFilter(new: SseFilter): RoutingSseHandler
Link copied to clipboard
open override fun withRouter(other: Router): RoutingSseHandler