WebSocketConfiguration
public struct WebSocketConfiguration : Codable, Hashable
A value representing the configuration for the web socket of the Datasync service.
-
The version of the protocol to use.
The default value of this property is
WebSocketProtocol.default
.Declaration
Swift
public var `protocol`: WebSocketProtocol
-
The maximum delay between two consecutive messages through the web socket, expressed in milliseconds.
When
nil
, a default value is used.Declaration
Swift
public var keepAliveDelayMS: Int?
-
The maximum delay to receive acknowledgement for
ping
messages sent to the back-end, expressed in milliseconds.When
nil
, a default value is used.Declaration
Swift
public var pongDelayMS: Int?