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); 165HandshakeHelpers.GenerateResponseHeaders(!_isH2WebSocket, _context.Request.Headers, subProtocol, _context.Response.Headers); 170var ext = _context.Request.Headers.SecWebSocketExtensions; 174foreach (var extension in _context.Request.Headers.GetCommaSeparatedValues(HeaderNames.SecWebSocketExtensions)) 184_context.Response.Headers.SecWebSocketExtensions = response; 211_context.Features.Get<IHttpRequestTimeoutFeature>()?.DisableTimeout(); 213var abortStream = new AbortStream(_context, opaqueTransport);