예제 #1
0
 private Task ProcessCloseFrame(WebSocketFrame frame) => InternalCloseAsync(frame.PayloadData, !frame.PayloadData.HasReservedCode, false);
예제 #2
0
 internal MessageEventArgs(WebSocketFrame frame)
 {
     Opcode   = frame.Opcode;
     _rawData = frame.PayloadData.ApplicationData.ToArray();
 }