http4k / org.http4k.server / PolyHandler
class PolyHandler
A PolyHandler represents the combined routing logic of an multiple protocol handlers
Name | Summary |
---|---|
<init> | A PolyHandler represents the combined routing logic of an multiple protocol handlersPolyHandler(http: HttpHandler ? = null, ws: WsHandler ? = null, sse: SseHandler ? = null) |
Name | Summary |
---|---|
http | val http: HttpHandler ? |
sse | val sse: SseHandler ? |
ws | val ws: WsHandler ? |
Name | Summary |
---|---|
asServer | fun PolyHandler .asServer(config: PolyServerConfig ): Http4kServer |
testWsClient | fun PolyHandler .testWsClient(request: Request ): TestWsClient ? |