1 write to _webSocket
System.ServiceModel.Http (1)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
901
_webSocket
= webSocket;
17 references to _webSocket
System.ServiceModel.Http (17)
System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (17)
1026
WcfEventSource.Instance.WebSocketAsyncReadStart(
_webSocket
.GetHashCode());
1032
result = await
_webSocket
.ReceiveAsync(new ArraySegment<byte>(buffer, offset, count), cancellationToken);
1060
WcfEventSource.Instance.WebSocketAsyncReadStop(
_webSocket
.GetHashCode(), receivedBytes, string.Empty);
1105
_webSocket
.GetHashCode(),
1112
await
_webSocket
.SendAsync(new ArraySegment<byte>(buffer, offset, count), _outgoingMessageType, false, cancellationToken);
1131
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1146
_webSocket
.GetHashCode(),
1155
Task task =
_webSocket
.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, timeoutHelper.GetCancellationToken());
1161
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1171
_webSocket
.GetHashCode(),
1181
await
_webSocket
.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, cancelToken);
1185
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1236
if (!_endofMessageReceived && (
_webSocket
.State == WebSocketState.Open ||
_webSocket
.State == WebSocketState.CloseSent))
1244
_webSocket
.ReceiveAsync(new ArraySegment<byte>(_initialReadBuffer.Array), cancelToken);
1249
(
_webSocket
.State == WebSocketState.Open ||
1250
_webSocket
.State == WebSocketState.CloseSent));