12 references to SecWebSocketProtocol
System.ServiceModel (12)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (4)
232
string serverSubProtocol = webResponse.Headers[WebSocketHelper.
SecWebSocketProtocol
];
245
request.Headers[WebSocketHelper.
SecWebSocketProtocol
] = this.WebSocketSettings.SubProtocol;
447
CheckResponseHeader(response, WebSocketHelper.
SecWebSocketProtocol
, this.WebSocketSettings.SubProtocol, true);
451
string headerValue = response.Headers[WebSocketHelper.
SecWebSocketProtocol
];
System\ServiceModel\Channels\DefaultWebSocketConnectionHandler.cs (5)
101
response.Headers.Remove(WebSocketHelper.
SecWebSocketProtocol
);
104
response.Headers.Add(WebSocketHelper.
SecWebSocketProtocol
, negotiatedProtocol);
112
SR.GetString(SR.WebSocketInvalidProtocolNoHeader, this.subProtocol, WebSocketHelper.
SecWebSocketProtocol
)));
126
if (request.Headers.TryGetValues(WebSocketHelper.
SecWebSocketProtocol
, out clientProtocols))
162
response.Headers.Add(WebSocketHelper.
SecWebSocketProtocol
, subprotocol);
System\ServiceModel\Channels\HttpPipeline.cs (3)
801
if (response.Headers.Contains(WebSocketHelper.
SecWebSocketProtocol
))
803
foreach (string headerValue in response.Headers.GetValues(WebSocketHelper.
SecWebSocketProtocol
))
809
response.Headers.Remove(WebSocketHelper.
SecWebSocketProtocol
);