public interface WebsocketSpec
Modifier and Type | Interface and Description |
---|---|
static class |
WebsocketSpec.Builder<SPEC extends WebsocketSpec.Builder<SPEC>> |
Modifier and Type | Method and Description |
---|---|
boolean |
compress()
Returns whether the websocket compression extension is enabled.
|
boolean |
handlePing()
Returns whether to proxy websocket PING frames or respond to them.
|
int |
maxFramePayloadLength()
Returns the configured maximum allowable frame payload length.
|
String |
protocols()
Returns the configured sub protocols.
|
@Nullable String protocols()
int maxFramePayloadLength()
Note: When a websocket compression extension is enabled, this setting is applied on the compressed data.
boolean handlePing()
boolean compress()