Package | Description |
---|---|
bayou.websocket |
WebSocket server.
|
Modifier and Type | Method and Description |
---|---|
WebSocketServerConf |
WebSocketServer.conf()
Get the
WebSocketServerConf for this server. |
WebSocketServerConf |
WebSocketServerConf.enforceSameOrigin(boolean enforceSameOrigin)
Whether to enforce same-origin policy on websocket requests.
|
WebSocketServerConf |
WebSocketServerConf.inboundBufferSize(int inboundBufferSize)
Inbound data buffer size.
|
WebSocketServerConf |
WebSocketServerConf.outboundPayloadMax(long outboundPayloadMax)
Max length of outbound frame payload.
|
WebSocketServerConf |
WebSocketServerConf.pingInterval(Duration pingInterval)
Interval between server PING requests.
|
WebSocketServerConf |
WebSocketServerConf.pingPongTimeout(Duration pingPongTimeout)
Timeout for client PONG response to server PING request.
|
WebSocketServerConf |
WebSocketServerConf.trafficDump(Consumer<CharSequence> trafficDump)
Where to dump websocket traffic, for debugging purpose.
|