Class WebSocketOptions
- Namespace
- Signal.Application.Configuration
- Assembly
- Signal.Application.dll
WebSocket receiving (json-rpc / json-rpc-native modes).
public sealed class WebSocketOptions
- Inheritance
-
WebSocketOptions
- Inherited Members
Properties
KeepAlive
WebSocket keep-alive (ping) interval; keeps proxies from closing idle connections. Default 20 s.
public TimeSpan KeepAlive { get; set; }
Property Value
ReceiveBufferSize
Receive buffer size in bytes; larger frames are assembled from several reads. Default 16 KiB.
public int ReceiveBufferSize { get; set; }
Property Value
ReconnectMaxDelay
Maximum reconnect delay (the delay doubles per failed attempt up to this value). Default 30 s.
public TimeSpan ReconnectMaxDelay { get; set; }
Property Value
ReconnectMinDelay
Initial reconnect delay after the connection dropped or failed. Default 1 s.
public TimeSpan ReconnectMinDelay { get; set; }