3 references to HandshakeHelpers
Microsoft.AspNetCore.WebSockets (3)
WebSocketMiddleware.cs (3)
165HandshakeHelpers.GenerateResponseHeaders(!_isH2WebSocket, _context.Request.Headers, subProtocol, _context.Response.Headers); 178if (HandshakeHelpers.ParseDeflateOptions(extension.AsSpan().TrimStart(), serverContextTakeover, serverMaxWindowBits, out var parsedOptions, out var response)) 280return HandshakeHelpers.IsRequestKeyValid(requestHeaders.SecWebSocketKey.ToString());