Package | Description |
---|---|
io.muserver |
This package contains the main API of mu-server, for example the server builders, request and response objects.
|
Modifier and Type | Method and Description |
---|---|
static WebSocketHandlerBuilder |
WebSocketHandlerBuilder.webSocketHandler(MuWebSocketFactory factory)
Creates a new handler builder with the given factory.
|
WebSocketHandlerBuilder |
WebSocketHandlerBuilder.withWebSocketFactory(MuWebSocketFactory factory)
Sets the factory that decides whether to create a websocket connection for a request.
|
Copyright © 2017–2021. All rights reserved.