99 references to WebSockets
System (99)
net\System\Net\WebSockets\ClientWebSocket.cs (7)
40if (Logging.On) Logging.Enter(Logging.WebSockets, this, ".ctor", null); 51if (Logging.On) Logging.Exit(Logging.WebSockets, this, ".ctor", null); 158if (Logging.On) Logging.Associate(Logging.WebSockets, this, request); 165if (Logging.On) Logging.Associate(Logging.WebSockets, this, response); 173if (Logging.On) Logging.Associate(Logging.WebSockets, this, innerWebSocket); 186if (Logging.On) Logging.Exception(Logging.WebSockets, this, "ConnectAsync", wex); 192if (Logging.On) Logging.Exception(Logging.WebSockets, this, "ConnectAsync", ex);
net\System\Net\WebSockets\WebSocketBase.cs (23)
80s_LoggingEnabled = Logging.On && Logging.WebSockets.Switch.ShouldTrace(TraceEventType.Critical); 94Logging.Enter(Logging.WebSockets, this, Methods.Initialize, parameters); 105Logging.Associate(Logging.WebSockets, this, m_InnerStream); 106Logging.Associate(Logging.WebSockets, this, m_InternalBuffer); 129Logging.Exit(Logging.WebSockets, this, Methods.Initialize, parameters); 211Logging.Enter(Logging.WebSockets, this, Methods.ReceiveAsync, string.Empty); 247Logging.Dump(Logging.WebSockets, 271Logging.Exit(Logging.WebSockets, this, Methods.ReceiveAsync, string.Empty); 317Logging.Enter(Logging.WebSockets, this, Methods.SendAsync, inputParameter); 364Logging.Dump(Logging.WebSockets, 394Logging.Exit(Logging.WebSockets, this, Methods.SendAsync, inputParameter); 447Logging.Enter(Logging.WebSockets, this, Methods.Abort, string.Empty); 502Logging.Exit(Logging.WebSockets, this, Methods.Abort, string.Empty); 528Logging.Enter(Logging.WebSockets, this, Methods.CloseOutputAsync, inputParameter); 654Logging.Exit(Logging.WebSockets, this, Methods.CloseOutputAsync, inputParameter); 773Logging.Enter(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); 924Logging.Dump(Logging.WebSockets, 1012Logging.Exit(Logging.WebSockets, this, Methods.CloseAsync, inputParameter); 1306Logging.Exception(Logging.WebSockets, this, methodName, exception); 1444Logging.Exception(Logging.WebSockets, this, Methods.Fault, exception); 1527Logging.PrintInfo(Logging.WebSockets, this, Methods.FinishOnCloseReceived, parameters); 1541Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnKeepAlive, string.Empty); 1604Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnKeepAlive, string.Empty);
net\System\Net\WebSockets\WebSocketConnectionStream.cs (33)
52Logging.Associate(Logging.WebSockets, this, m_ConnectStream.Connection); 96Logging.Enter(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 133Logging.Dump(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, buffer, 0, bytesRead); 165Logging.Exit(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, bytesRead); 174Logging.Enter(Logging.WebSockets, this, Methods.Close, string.Empty); 192Logging.Exit(Logging.WebSockets, this, Methods.Close, string.Empty); 201Logging.Enter(Logging.WebSockets, this, Methods.ReadAsync, 220Logging.Dump(Logging.WebSockets, this, Methods.ReadAsync, buffer, offset, bytesRead); 238Logging.Exit(Logging.WebSockets, this, Methods.ReadAsync, bytesRead); 249Logging.Enter(Logging.WebSockets, this, Methods.WriteAsync, 266Logging.Dump(Logging.WebSockets, this, Methods.WriteAsync, buffer, offset, count); 284Logging.Exit(Logging.WebSockets, this, Methods.WriteAsync, string.Empty); 305Logging.Associate(Logging.WebSockets, this, m_WebSocketConnection); 319Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 337Logging.Dump(Logging.WebSockets, this, Methods.MultipleWriteAsync, buffer.Array, buffer.Offset, buffer.Count); 356Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 377Logging.Enter(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 398Logging.Exit(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 433Logging.Dump(Logging.WebSockets, this, "ConsumeConnectStreamBuffer", buffer, 0, count); 545Logging.Enter(Logging.WebSockets, this, Methods.Close, string.Empty); 571Logging.Exit(Logging.WebSockets, this, Methods.Close, string.Empty); 641Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsync, string.Empty); 676Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsync, completedAsynchronously); 692Logging.Enter(Logging.WebSockets, this, Methods.WriteAsync, 728Logging.Exit(Logging.WebSockets, this, Methods.WriteAsync, completedAsynchronously); 750Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncCore, 805Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncCore, completedAsynchronously); 838Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnCancel, string.Empty); 861Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnCancel, string.Empty); 902Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, 917Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 933Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, 955Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty);
net\System\Net\WebSockets\WebSocketHelpers.cs (11)
76Logging.Enter(Logging.WebSockets, context, "AcceptWebSocketAsync", ""); 127Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 129Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 131Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 133Logging.PrintInfo(Logging.WebSockets, string.Format("{0} = {1}", 135Logging.PrintInfo(Logging.WebSockets, string.Format("Request {0} = {1}", 138Logging.PrintInfo(Logging.WebSockets, string.Format("Response {0} = {1}", 173Logging.Associate(Logging.WebSockets, context, webSocketContext); 174Logging.Associate(Logging.WebSockets, webSocketContext, webSocket); 181Logging.Exception(Logging.WebSockets, context, "AcceptWebSocketAsync", ex); 189Logging.Exit(Logging.WebSockets, context, "AcceptWebSocketAsync", "");
net\System\Net\WebSockets\WebSocketHttpListenerDuplexStream.cs (25)
67Logging.Associate(Logging.WebSockets, inputStream, this); 68Logging.Associate(Logging.WebSockets, outputStream, this); 140Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncCore, 199Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncCore, bytesRead); 213Logging.Enter(Logging.WebSockets, this, Methods.ReadAsyncFast, string.Empty); 309Logging.Exit(Logging.WebSockets, this, Methods.ReadAsyncFast, completedAsynchronously); 366Logging.Enter(Logging.WebSockets, this, Methods.MultipleWriteAsyncCore, string.Empty); 407Logging.Exit(Logging.WebSockets, this, Methods.MultipleWriteAsyncCore, string.Empty); 428Logging.Enter(Logging.WebSockets, this, Methods.WriteAsyncCore, 478Logging.Exit(Logging.WebSockets, this, Methods.WriteAsyncCore, string.Empty); 490Logging.Enter(Logging.WebSockets, this, Methods.WriteAsyncFast, string.Empty); 566Logging.Exit(Logging.WebSockets, this, Methods.WriteAsyncFast, completedAsynchronously); 619Logging.Enter(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 661Logging.Exit(Logging.WebSockets, this, Methods.CloseNetworkConnectionAsync, string.Empty); 721Logging.Enter(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 747Logging.Exit(Logging.WebSockets, state, Methods.OnCancel, string.Empty); 777Logging.Associate(Logging.WebSockets, this, webSocket); 793Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 807Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnWriteCompleted, string.Empty); 823Logging.Enter(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty); 837Logging.Exit(Logging.WebSockets, thisPtr, Methods.OnReadCompleted, string.Empty); 1214Logging.PrintError(Logging.WebSockets, m_CurrentStream, 1231Logging.Dump(Logging.WebSockets, m_CurrentStream, 1242Logging.Dump(Logging.WebSockets, this, Methods.WriteAsyncFast, buffer.Array, buffer.Offset, buffer.Count); 1247Logging.PrintLine(Logging.WebSockets, TraceEventType.Verbose, 0,