프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ClientHandshake | string | ||
Encoding | |||
Server |
메소드 | 설명 | |
---|---|---|
ProcessIncoming ( byte buffer, int bytesRead ) : void | ||
Receive ( Action |
||
Send ( string text, Action |
||
SendUnencoded ( string text, Action |
||
WebSocket ( |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | void |
public Send ( string text, Action |
||
text | string | |
callback | Action |
|
리턴 | void |
public SendUnencoded ( string text, Action |
||
text | string | |
callback | Action |
|
리턴 | void |
public WebSocket ( |
||
server | ||
tcp | ||
리턴 | System |