enum | WebSocketCloseCode { WebSocketCloseCode.NotSet = 0, WebSocketCloseCode.Normal = 1000, WebSocketCloseCode.Away = 1001, WebSocketCloseCode.ProtocolError = 1002, WebSocketCloseCode.UnsupportedData = 1003, WebSocketCloseCode.Undefined = 1004, WebSocketCloseCode.NoStatus = 1005, WebSocketCloseCode.Abnormal = 1006, WebSocketCloseCode.InvalidData = 1007, WebSocketCloseCode.PolicyViolation = 1008, WebSocketCloseCode.TooBig = 1009, WebSocketCloseCode.MandatoryExtension = 1010, WebSocketCloseCode.ServerError = 1011, WebSocketCloseCode.TlsHandshakeFailure = 1015 } Web socket close codes |
enum | WitWebSocketConnectionState { WitWebSocketConnectionState.Disconnected , WitWebSocketConnectionState.Connecting , WitWebSocketConnectionState.Connected , WitWebSocketConnectionState.Disconnecting } Various connection state options for a web socket client |
delegate void | Called one or more times to thread when a chunk has returned |
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 |
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 |
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. jsonDataDecoded json data object. binaryDataDecoded binary data chunk which may be null or empty. |