WitWebSocketSettings
(
configuration
)
|
Constructor that takes in configuration
Signature
Meta.Voice.Net.WebSockets.WitWebSocketSettings.WitWebSocketSettings(IWitRequestConfiguration configuration) Parameters configuration: IWitRequestConfiguration |
RequestTimeoutMs
: int |
Request timeout in milliseconds
Signature
int Meta.Voice.Net.WebSockets.WitWebSocketSettings.RequestTimeoutMs |
AdditionalAuthParameters
: Dictionary< string, string >
[Get] |
Used for adding in custom authentication parameters
Signature
Dictionary<string, string> Meta.Voice.Net.WebSockets.WitWebSocketSettings.AdditionalAuthParameters |
Configuration
: IWitRequestConfiguration
[Get] |
The configuration used for wit web socket communication
Signature
IWitRequestConfiguration Meta.Voice.Net.WebSockets.WitWebSocketSettings.Configuration |
Debug
: bool
[Get][Set] |
Determines if additional debug data is included in responses
Signature
bool Meta.Voice.Net.WebSockets.WitWebSocketSettings.Debug |
ReconnectAttempts
: int
[Get][Set] |
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.
Signature
int Meta.Voice.Net.WebSockets.WitWebSocketSettings.ReconnectAttempts |
ReconnectInterval
: float
[Get][Set] |
The interval in seconds between reconnects when disconnected
Signature
float Meta.Voice.Net.WebSockets.WitWebSocketSettings.ReconnectInterval |
ServerConnectionTimeoutMs
: int
[Get][Set] |
The interval in seconds before a connection is timed out
Signature
int Meta.Voice.Net.WebSockets.WitWebSocketSettings.ServerConnectionTimeoutMs |
ServerUrl
: string
[Get][Set] |
The url to connect with on client.Connect()
Signature
string Meta.Voice.Net.WebSockets.WitWebSocketSettings.ServerUrl |
VerboseJsonLogging
: bool
[Get][Set] |
Option for logging every uploaded and downloaded json chunk
Signature
bool Meta.Voice.Net.WebSockets.WitWebSocketSettings.VerboseJsonLogging |
WebSocketProvider
: IWebSocketProvider
[Get][Set] |
Option for custom web socket implementation
Signature
IWebSocketProvider Meta.Voice.Net.WebSockets.WitWebSocketSettings.WebSocketProvider |