1 write to _webSocket
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (1)
929
_webSocket
= webSocket;
17 references to _webSocket
dotnet-svcutil-lib (17)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportDuplexSessionChannel.cs (17)
1054
WcfEventSource.Instance.WebSocketAsyncReadStart(
_webSocket
.GetHashCode());
1060
result = await
_webSocket
.ReceiveAsync(new ArraySegment<byte>(buffer, offset, count), cancellationToken);
1088
WcfEventSource.Instance.WebSocketAsyncReadStop(
_webSocket
.GetHashCode(), receivedBytes, string.Empty);
1133
_webSocket
.GetHashCode(),
1140
await
_webSocket
.SendAsync(new ArraySegment<byte>(buffer, offset, count), _outgoingMessageType, false, cancellationToken);
1159
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1174
_webSocket
.GetHashCode(),
1183
Task task =
_webSocket
.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, timeoutHelper.GetCancellationToken());
1189
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1199
_webSocket
.GetHashCode(),
1209
await
_webSocket
.SendAsync(new ArraySegment<byte>(Array.Empty<byte>(), 0, 0), _outgoingMessageType, true, cancelToken);
1213
WcfEventSource.Instance.WebSocketAsyncWriteStop(
_webSocket
.GetHashCode());
1264
if (!_endofMessageReceived && (
_webSocket
.State == WebSocketState.Open ||
_webSocket
.State == WebSocketState.CloseSent))
1272
_webSocket
.ReceiveAsync(new ArraySegment<byte>(_initialReadBuffer.Array), cancelToken);
1277
(
_webSocket
.State == WebSocketState.Open ||
1278
_webSocket
.State == WebSocketState.CloseSent));