27 references to SecWebSocketExtensions
InMemory.FunctionalTests (8)
Http2\Http2WebSocketTests.cs (8)
56
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
122
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
213
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
346
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
415
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
483
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
545
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
655
new KeyValuePair<string, string>(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate"),
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
206
StringValues SecWebSocketExtensions { get => this[HeaderNames.
SecWebSocketExtensions
]; set => this[HeaderNames.
SecWebSocketExtensions
] = value; }
Microsoft.AspNetCore.HttpLogging (1)
HttpLoggingOptions.cs (1)
50
HeaderNames.
SecWebSocketExtensions
,
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
351
HeaderNames.
SecWebSocketExtensions
,
2350
if (!TryGetUnknown(HeaderNames.
SecWebSocketExtensions
, ref value))
2359
SetValueUnknown(HeaderNames.
SecWebSocketExtensions
, value);
10574
if (!TryGetUnknown(HeaderNames.
SecWebSocketExtensions
, ref value))
10583
ValidateHeaderValueCharacters(HeaderNames.
SecWebSocketExtensions
, value, EncodingSelector);
10584
SetValueUnknown(HeaderNames.
SecWebSocketExtensions
, value);
16739
if (!TryGetUnknown(HeaderNames.
SecWebSocketExtensions
, ref value))
16748
ValidateHeaderValueCharacters(HeaderNames.
SecWebSocketExtensions
, value, EncodingSelector);
16749
SetValueUnknown(HeaderNames.
SecWebSocketExtensions
, value);
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
174
foreach (var extension in _context.Request.Headers.GetCommaSeparatedValues(HeaderNames.
SecWebSocketExtensions
))
Microsoft.AspNetCore.WebSockets.Tests (6)
WebSocketCompressionMiddlewareTests.cs (6)
37
request.Headers.Add(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate");
41
Assert.Equal("permessage-deflate; server_no_context_takeover", response.Headers.GetValues(HeaderNames.
SecWebSocketExtensions
).Aggregate((l, r) => $"{l}; {r}"));
65
request.Headers.Add(HeaderNames.
SecWebSocketExtensions
, "permessage-deflate");
69
Assert.False(response.Headers.Contains(HeaderNames.
SecWebSocketExtensions
));
99
request.Headers.Add(HeaderNames.
SecWebSocketExtensions
, clientHeader);
103
Assert.Equal(expectedResponse, response.Headers.GetValues(HeaderNames.
SecWebSocketExtensions
).Aggregate((l, r) => $"{l}; {r}"));