Loading...
Searching...
No Matches
NativeWebSocket Namespace Reference

Classes

interface  IWebSocket
class  WebSocketHelpers
class  WebSocketException
class  WebSocketUnexpectedException
class  WebSocketInvalidArgumentException
class  WebSocketInvalidStateException
class  WaitForBackgroundThread
class  WebSocket
class  WebSocketFactory
 Class providing static access methods to work with JSLIB WebSocket or WebSocketSharp interface.

Enumerations

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
}
enum  WebSocketState { Connecting , Open , Closing , Closed }

Functions

delegate void WebSocketOpenEventHandler ()
delegate void WebSocketMessageEventHandler (byte[] data)
delegate void WebSocketErrorEventHandler (string errorMsg)
delegate void WebSocketCloseEventHandler (int closeCode)