http4k / org.http4k.websocket / PolyHandler
class PolyHandler
A PolyHandler represents the combined routing logic of an Http handler and a Websocket handler. ws:// and http:// protocol calls are passed relevantly.
Name | Summary |
---|---|
<init> | A PolyHandler represents the combined routing logic of an Http handler and a Websocket handler. ws:// and http:// protocol calls are passed relevantly.PolyHandler(http: HttpHandler , ws: WsHandler ) |
Name | Summary |
---|---|
http | val http: HttpHandler |
Name | Summary |
---|---|
asServer | fun PolyHandler .asServer(config: WsServerConfig ): Http4kServer |
testWsClient | fun PolyHandler .testWsClient(request: Request ): TestWsClient ? |