API reference

Overview

Functions

delegate void
UploadChunkDelegate
( string requestId,
WitResponseNode jsonData,
byte [] binaryData )
Called one or more times to thread when a chunk has returned

Details

Enumeration Types

enum Meta::Voice::Net::WebSockets.WebSocketCloseCode
Web socket close codes
Enumerator
NotSet
= 0
Normal
= 1000
Away
= 1001
ProtocolError
= 1002
UnsupportedData
= 1003
Undefined
= 1004
NoStatus
= 1005
Abnormal
= 1006
InvalidData
= 1007
PolicyViolation
= 1008
TooBig
= 1009
MandatoryExtension
= 1010
ServerError
= 1011
TlsHandshakeFailure
= 1015
enum Meta::Voice::Net::WebSockets.WitWebSocketConnectionState
Various connection state options for a web socket client
Enumerator
Disconnected
Not connected to a server
Connecting
Currently connecting or authenticating with a server
Connected
Connected and ready to send data
Disconnecting
Currently disconnecting from a server

Functions

delegate void Meta.Voice.Net.WebSockets.UploadChunkDelegate
( string requestId,
WitResponseNode jsonData,
byte [] binaryData )
Called one or more times to thread when a chunk has returned
Parameters
requestId
Request id used for chunk lookup and prioritization.
jsonData
Decoded json data object.
binaryData
Decoded binary data chunk which may be null or empty.