Свойство | Type | Description | |
---|---|---|---|
ClientHandshake | string | ||
Encoding | |||
Server |
Méthode | Description | |
---|---|---|
ProcessIncoming ( byte buffer, int bytesRead ) : void | ||
Receive ( Action |
||
Send ( string text, Action |
||
SendUnencoded ( string text, Action |
||
WebSocket ( |
Méthode | Description | |
---|---|---|
BeginRead ( ) : void | ||
DecodeClientData ( byte bytes ) : string | ||
EncodeServerData ( string text ) : byte[] | ||
ProcessRead ( int bytesRead, ReadState state ) : void | ||
ReadCallback ( IAsyncResult result ) : void | ||
SendCallback ( IAsyncResult result ) : void | ||
SendHandshake ( byte buffer, int bytesRead ) : void |
public ProcessIncoming ( byte buffer, int bytesRead ) : void | ||
buffer | byte | |
bytesRead | int | |
Résultat | void |
public Send ( string text, Action |
||
text | string | |
callback | Action |
|
Résultat | void |
public SendUnencoded ( string text, Action |
||
text | string | |
callback | Action |
|
Résultat | void |
public WebSocket ( |
||
server | ||
tcp | ||
Résultat | System |