api

http4k / org.http4k.websocket / PolyHandler / <init>

<init>

PolyHandler(http: HttpHandler, ws: WsHandler)

A PolyHandler represents the combined routing logic of an Http handler and a Websocket handler. ws:// and http:// protocol calls are passed relevantly.