Interface WebsocketClientSpec

All Superinterfaces:
WebsocketSpec

public interface WebsocketClientSpec extends WebsocketSpec
Websocket client configuration.
Since:
0.9.7
Author:
Violeta Georgieva
  • Method Details

    • compressionAllowClientNoContext

      boolean compressionAllowClientNoContext()
      Returns whether the server is allowed to activate client_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 activate server_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

      static WebsocketClientSpec.Builder builder()
      Create builder with default properties.
      version = WebSocketVersion.V13
      protocols = null
      maxFramePayloadLength = 65536
      handlePing = false
      compress = false
      compressionAllowClientNoContext = false
      compressionRequestedServerNoContext = false
      Returns:
      WebsocketClientSpec.Builder