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