11 references to SwitchingProtocols
System (4)
net\System\Net\_Connection.cs (1)
2428
if (m_CurrentRequest.IsWebSocketRequest && m_ResponseData.m_StatusCode == HttpStatusCode.
SwitchingProtocols
)
net\System\Net\HttpWebResponse.cs (1)
411
if (m_IsWebSocketResponse && m_StatusCode == HttpStatusCode.
SwitchingProtocols
) // HTTP 101
net\System\Net\WebSockets\ClientWebSocket.cs (1)
263
if (response.StatusCode != HttpStatusCode.
SwitchingProtocols
)
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
114
response.StatusCode = (int)HttpStatusCode.
SwitchingProtocols
; // HTTP 101
System.ServiceModel (5)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (3)
432
if (response.StatusCode != HttpStatusCode.
SwitchingProtocols
)
437
SR.WebSocketUpgradeFailedError, (int)response.StatusCode, response.StatusDescription, (int)HttpStatusCode.
SwitchingProtocols
, HttpStatusCode.
SwitchingProtocols
))));
System\ServiceModel\Channels\HttpPipeline.cs (1)
798
if (response.StatusCode == HttpStatusCode.
SwitchingProtocols
)
System\ServiceModel\Channels\WebSocketConnectionHandler.cs (1)
51
HttpResponseMessage message = new HttpResponseMessage(HttpStatusCode.
SwitchingProtocols
);
System.Web (2)
HttpApplication.cs (1)
3650
|| context.Response.StatusCode != (int)HttpStatusCode.
SwitchingProtocols
) {
HttpContext.cs (1)
366
Response.StatusCode = (int)HttpStatusCode.
SwitchingProtocols
; // 101