Record: ClientConfiguration
Configurations for the WebSocket client. The following fields are inherited from the other configuration records in addition to the client-specific configs. |
Fields
- Fields Included from *CommonClientConfiguration
- subProtocols string[ ]
- customHeaders map<string>
- readTimeout decimal
- writeTimeout decimal
- secureSocket ClientSecureSocket | ()
- maxFrameSize int
- webSocketCompressionEnabled boolean
- handShakeTimeout decimal
- cookies Cookie[ ]
- auth ClientAuthConfig
- pingPongHandler PingPongService
- retryConfig WebSocketRetryConfig | ()
Negotiable sub protocols of the client
Custom headers, which should be sent to the server
Read timeout (in seconds) of the client
Write timeout (in seconds) of the client
SSL/TLS-related options
The maximum payload size of a WebSocket frame in bytes. If this is not set, is negative, or is zero, the default frame size of 65536 will be used
Enable support for compression in the WebSocket
Time (in seconds) that a connection waits to get the response of the WebSocket handshake. If the timeout exceeds, then the connection is terminated with an error. If the value < 0, then the value sets to the default value(300)
An Array of http:Cookie
Configurations related to client authentication
A service to handle the ping/pong frames. Resources in this service gets called on the receipt of ping/pong frames from the server
Retry related configurations.