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