Tanoda
|
Classes | |
interface | IWebSocket |
WebSocket class interface shared by both native and JSLIB implementation. More... | |
class | WebSocket |
class | WebSocketException |
Generic WebSocket exception class More... | |
class | WebSocketFactory |
Class providing static access methods to work with JSLIB WebSocket or WebSocketSharp interface | |
class | WebSocketHelpers |
Various helpers to work mainly with enums and exceptions. | |
class | WebSocketInvalidArgumentException |
Invalid argument exception raised when bad arguments are passed to a method. More... | |
class | WebSocketInvalidStateException |
Invalid state exception raised when trying to invoke action which cannot be done due to different then required state. More... | |
class | WebSocketUnexpectedException |
Web socket exception raised when an error was not expected, probably due to corrupted internal state. More... | |
Enumerations | |
enum | WebSocketState { Connecting , Open , Closing , Closed } |
Enum representing WebSocket connection state More... | |
enum | WebSocketCloseCode { 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 } |
Web socket close codes. More... | |
Functions | |
delegate void | WebSocketOpenEventHandler () |
Handler for WebSocket Open event. More... | |
delegate void | WebSocketMessageEventHandler (byte[] data) |
Handler for message received from WebSocket. More... | |
delegate void | WebSocketErrorEventHandler (string errorMsg) |
Handler for an error event received from WebSocket. More... | |
delegate void | WebSocketCloseEventHandler (WebSocketCloseCode closeCode) |
Handler for WebSocket Close event. More... | |
Web socket close codes.
Enumerator | |
---|---|
NotSet | |
Normal | |
Away | |
ProtocolError | |
UnsupportedData | |
Undefined | |
NoStatus | |
Abnormal | |
InvalidData | |
PolicyViolation | |
TooBig | |
MandatoryExtension | |
ServerError | |
TlsHandshakeFailure |
Definition at line 53 of file WebSocket.cs.
Enum representing WebSocket connection state
Enumerator | |
---|---|
Connecting | |
Open | |
Closing | |
Closed |
Definition at line 42 of file WebSocket.cs.
delegate void HybridWebSocket.WebSocketCloseEventHandler | ( | WebSocketCloseCode | closeCode | ) |
Handler for WebSocket Close event.
delegate void HybridWebSocket.WebSocketErrorEventHandler | ( | string | errorMsg | ) |
Handler for an error event received from WebSocket.
delegate void HybridWebSocket.WebSocketMessageEventHandler | ( | byte[] | data | ) |
Handler for message received from WebSocket.
delegate void HybridWebSocket.WebSocketOpenEventHandler | ( | ) |
Handler for WebSocket Open event.