Package reactor.netty.http.client
Interface WebsocketClientSpec
- All Superinterfaces:
WebsocketSpec
Websocket client configuration.
- Since:
- 0.9.7
- Author:
- Violeta Georgieva
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WebsocketClientSpec.Builder
builder()
Create builder with default properties.
version =WebSocketVersion.V13
protocols = null
maxFramePayloadLength = 65536
handlePing = false
compress = false
compressionAllowClientNoContext = false
compressionRequestedServerNoContext = falseboolean
Returns whether the server is allowed to activateclient_no_context_takeover
.boolean
Returns whether the client needs to activateserver_no_context_takeover
.version()
Returns the configured WebSocket version.Methods inherited from interface reactor.netty.http.websocket.WebsocketSpec
compress, handlePing, maxFramePayloadLength, protocols
-
Method Details
-
compressionAllowClientNoContext
boolean compressionAllowClientNoContext()Returns whether the server is allowed to activateclient_no_context_takeover
.- Returns:
- whether the server is allowed to activate
client_no_context_takeover
- Since:
- 1.1.14
-
compressionRequestedServerNoContext
boolean compressionRequestedServerNoContext()Returns whether the client needs to activateserver_no_context_takeover
.- Returns:
- whether the client needs to activate
server_no_context_takeover
- Since:
- 1.1.14
-
version
WebSocketVersion version()Returns the configured WebSocket version.- Returns:
- returns the configured WebSocket version
- Since:
- 1.0.3
-
builder
Create builder with default properties.
version =WebSocketVersion.V13
protocols = null
maxFramePayloadLength = 65536
handlePing = false
compress = false
compressionAllowClientNoContext = false
compressionRequestedServerNoContext = false- Returns:
WebsocketClientSpec.Builder
-