1 write to _context
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
101
_context
= context;
11 references to _context
Microsoft.AspNetCore.WebSockets (11)
WebSocketMiddleware.cs (11)
116
_isH2WebSocket = CheckSupportedWebSocketRequestH2(
_context
.Request.Method, _connectFeature.Protocol,
_context
.Request.Headers);
121
_isWebSocketRequest = CheckSupportedWebSocketRequest(
_context
.Request.Method,
_context
.Request.Headers);
165
HandshakeHelpers.GenerateResponseHeaders(!_isH2WebSocket,
_context
.Request.Headers, subProtocol,
_context
.Response.Headers);
170
var ext =
_context
.Request.Headers.SecWebSocketExtensions;
174
foreach (var extension in
_context
.Request.Headers.GetCommaSeparatedValues(HeaderNames.SecWebSocketExtensions))
184
_context
.Response.Headers.SecWebSocketExtensions = response;
211
_context
.Features.Get<IHttpRequestTimeoutFeature>()?.DisableTimeout();
213
var abortStream = new AbortStream(
_context
, opaqueTransport);