API reference
API reference
Select your platform
No SDKs available
No versions available

WitWebSocketSettings Class

All wit specific settings required by a web socket client in order to connect to a server

Overview

Properties

string
The url to connect with on client.Connect()
int
The interval in seconds before a connection is timed out
int
The total amount of reconnects that will be attempted if disconnected from the server. If 0, it will not attempt to reconnect. If -1, it will continuously attempt to reconnect.
float
The interval in seconds between reconnects when disconnected
The configuration used for wit web socket communication

Public Member Functions

Constructor that takes in configuration

Details

Properties

string Meta.Voice.Net.WebSockets.WitWebSocketSettings.ServerUrl
The url to connect with on client.Connect()
int Meta.Voice.Net.WebSockets.WitWebSocketSettings.ServerConnectionTimeoutMs
The interval in seconds before a connection is timed out
int Meta.Voice.Net.WebSockets.WitWebSocketSettings.ReconnectAttempts
The total amount of reconnects that will be attempted if disconnected from the server. If 0, it will not attempt to reconnect. If -1, it will continuously attempt to reconnect.
float Meta.Voice.Net.WebSockets.WitWebSocketSettings.ReconnectInterval
The interval in seconds between reconnects when disconnected
IWitRequestConfiguration Meta.Voice.Net.WebSockets.WitWebSocketSettings.Configuration
The configuration used for wit web socket communication

Member Functions

Meta.Voice.Net.WebSockets.WitWebSocketSettings.WitWebSocketSettings
( IWitRequestConfiguration configuration )
Constructor that takes in configuration
Did you find this page helpful?
Thumbs up icon
Thumbs down icon