Uses of Interface
io.karatelabs.http.WsHandler
Packages that use WsHandler
-
Uses of WsHandler in io.karatelabs.http
Methods in io.karatelabs.http with parameters of type WsHandlerModifier and TypeMethodDescriptionstatic HttpServerHttpServer.start(int port, io.netty.handler.ssl.SslContext sslContext, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) static HttpServerHttpServer.start(int port, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) static HttpServerHttpServer.start(String host, int port, Function<HttpRequest, HttpResponse> handler, SseHandler sseHandler, WsHandler wsHandler) Start bound to a specific interface —host="localhost"/"127.0.0.1"listens on loopback only (not reachable off-box),"0.0.0.0"/null/blank listens on every interface (the historical default).