2 types derived from WebSocketBase
System (2)
net\System\Net\WebSockets\InternalClientWebSocket.cs (1)
20
internal sealed class InternalClientWebSocket :
WebSocketBase
net\System\Net\WebSockets\ServerWebSocket.cs (1)
20
internal sealed class ServerWebSocket :
WebSocketBase
88 references to WebSocketBase
System (88)
net\System\Net\WebSockets\WebSocketBase.cs (12)
1534
Contract.Assert((sender as
WebSocketBase
) != null, "'sender as WebSocketBase' MUST NOT be NULL.");
1536
WebSocketBase
thisPtr = sender as
WebSocketBase
;
1612
private readonly
WebSocketBase
m_WebSocket;
1614
internal WebSocketOperation(
WebSocketBase
webSocket)
1891
public ReceiveOperation(
WebSocketBase
webSocket)
2067
public SendOperation(
WebSocketBase
webSocket)
2146
public CloseOutputOperation(
WebSocketBase
webSocket)
2191
public abstract void StartTimer(
WebSocketBase
webSocket);
2219
public override void StartTimer(
WebSocketBase
webSocket)
2263
public override void StartTimer(
WebSocketBase
webSocket)
2486
void SwitchToOpaqueMode(
WebSocketBase
webSocket);
net\System\Net\WebSockets\WebSocketBuffer.cs (1)
566
SR.GetString(SR.net_WebSockets_InvalidState_ClosedOrAborted, typeof(
WebSocketBase
), m_StateWhenDisposing));
net\System\Net\WebSockets\WebSocketConnectionStream.cs (39)
19
internal class WebSocketConnectionStream : BufferedReadStream,
WebSocketBase
.IWebSocketStream
50
if (
WebSocketBase
.LoggingEnabled)
94
if (
WebSocketBase
.LoggingEnabled)
131
if (
WebSocketBase
.LoggingEnabled)
163
if (
WebSocketBase
.LoggingEnabled)
172
if (
WebSocketBase
.LoggingEnabled)
190
if (
WebSocketBase
.LoggingEnabled)
199
if (
WebSocketBase
.LoggingEnabled)
218
if (
WebSocketBase
.LoggingEnabled)
236
if (
WebSocketBase
.LoggingEnabled)
247
if (
WebSocketBase
.LoggingEnabled)
264
if (
WebSocketBase
.LoggingEnabled)
282
if (
WebSocketBase
.LoggingEnabled)
289
public void SwitchToOpaqueMode(
WebSocketBase
webSocket)
303
if (
WebSocketBase
.LoggingEnabled)
317
if (
WebSocketBase
.LoggingEnabled)
331
await ((
WebSocketBase
.IWebSocketStream)base.BaseStream).MultipleWriteAsync(sendBuffers, cancellationToken).SuppressContextFlow();
333
if (
WebSocketBase
.LoggingEnabled)
354
if (
WebSocketBase
.LoggingEnabled)
375
if (
WebSocketBase
.LoggingEnabled)
396
if (
WebSocketBase
.LoggingEnabled)
431
if (
WebSocketBase
.LoggingEnabled)
452
private class WebSocketConnection : DelegatedStream,
WebSocketBase
.IWebSocketStream
476
private
WebSocketBase
m_WebSocket;
543
if (
WebSocketBase
.LoggingEnabled)
569
if (
WebSocketBase
.LoggingEnabled)
639
if (
WebSocketBase
.LoggingEnabled)
674
if (
WebSocketBase
.LoggingEnabled)
690
if (
WebSocketBase
.LoggingEnabled)
726
if (
WebSocketBase
.LoggingEnabled)
748
if (
WebSocketBase
.LoggingEnabled)
803
if (
WebSocketBase
.LoggingEnabled)
836
if (
WebSocketBase
.LoggingEnabled)
859
if (
WebSocketBase
.LoggingEnabled)
866
public void SwitchToOpaqueMode(
WebSocketBase
webSocket)
900
if (
WebSocketBase
.LoggingEnabled)
915
if (
WebSocketBase
.LoggingEnabled)
931
if (
WebSocketBase
.LoggingEnabled)
953
if (
WebSocketBase
.LoggingEnabled)
net\System\Net\WebSockets\WebSocketException.cs (2)
161
typeof(WebSocket).Name +
WebSocketBase
.Methods.CloseAsync,
162
typeof(WebSocket).Name +
WebSocketBase
.Methods.CloseOutputAsync);
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (27)
22
internal class WebSocketHttpListenerDuplexStream : Stream,
WebSocketBase
.IWebSocketStream
34
private
WebSocketBase
m_WebSocket;
65
if (
WebSocketBase
.LoggingEnabled)
138
if (
WebSocketBase
.LoggingEnabled)
197
if (
WebSocketBase
.LoggingEnabled)
211
if (
WebSocketBase
.LoggingEnabled)
307
if (
WebSocketBase
.LoggingEnabled)
364
if (
WebSocketBase
.LoggingEnabled)
405
if (
WebSocketBase
.LoggingEnabled)
426
if (
WebSocketBase
.LoggingEnabled)
476
if (
WebSocketBase
.LoggingEnabled)
488
if (
WebSocketBase
.LoggingEnabled)
564
if (
WebSocketBase
.LoggingEnabled)
617
if (
WebSocketBase
.LoggingEnabled)
659
if (
WebSocketBase
.LoggingEnabled)
719
if (
WebSocketBase
.LoggingEnabled)
745
if (
WebSocketBase
.LoggingEnabled)
751
public void SwitchToOpaqueMode(
WebSocketBase
webSocket)
775
if (
WebSocketBase
.LoggingEnabled)
791
if (
WebSocketBase
.LoggingEnabled)
805
if (
WebSocketBase
.LoggingEnabled)
821
if (
WebSocketBase
.LoggingEnabled)
835
if (
WebSocketBase
.LoggingEnabled)
863
private readonly
WebSocketBase
m_WebSocket;
871
public HttpListenerAsyncEventArgs(
WebSocketBase
webSocket, WebSocketHttpListenerDuplexStream stream)
1212
if (
WebSocketBase
.LoggingEnabled)
1227
if (
WebSocketBase
.LoggingEnabled)
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (7)
590
internal static void WebSocketSend(
WebSocketBase
webSocket,
615
internal static void WebSocketSendWithoutBody(
WebSocketBase
webSocket,
639
internal static void WebSocketReceive(
WebSocketBase
webSocket)
662
internal static void WebSocketGetAction(
WebSocketBase
webSocket,
712
internal static void WebSocketCompleteAction(
WebSocketBase
webSocket,
881
private static void ThrowIfSessionHandleClosed(
WebSocketBase
webSocket)
890
private static WebSocketException ConvertObjectDisposedException(
WebSocketBase
webSocket, ObjectDisposedException innerException)