Ejemplo n.º 1
0
 public async Task <ReceiveResult> ReceiveAsync(ArraySegment <byte> data, CancellationToken cancellationToken)
 {
     return(ResultConverter.ConvertToRecieveResult(await this.WebSocket.ReceiveAsync(data, cancellationToken)));
 }