Méthode | Description | |
---|---|---|
BuildHandshake ( WebSocketHttpRequest request ) : byte[] | ||
Create ( WebSocketHttpRequest request, Action |
||
CreateResponseKey ( string requestKey ) : string | ||
FrameData ( byte payload, FrameType frameType ) : byte[] | ||
ProcessFrame ( FrameType frameType, byte data, Action |
||
ReceiveData ( List |
Méthode | Description | |
---|---|---|
ReadUTF8PayloadData ( byte bytes ) : string |
public static BuildHandshake ( WebSocketHttpRequest request ) : byte[] | ||
request | WebSocketHttpRequest | |
Résultat | byte[] |
public static Create ( WebSocketHttpRequest request, Action |
||
request | WebSocketHttpRequest | |
onMessage | Action |
|
onClose | System.Action | |
onBinary | Action |
|
Résultat | IHandler |
public static CreateResponseKey ( string requestKey ) : string | ||
requestKey | string | |
Résultat | string |
public static FrameData ( byte payload, FrameType frameType ) : byte[] | ||
payload | byte | |
frameType | FrameType | |
Résultat | byte[] |
public static ProcessFrame ( FrameType frameType, byte data, Action |
||
frameType | FrameType | |
data | byte | |
onMessage | Action |
|
onClose | System.Action | |
onBinary | Action |
|
Résultat | void |
public static ReceiveData ( List |
||
data | List |
|
readState | ReadState | |
processFrame | byte[]>.Action | |
Résultat | void |