16 references to SecWebSocketKey
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
197StringValues SecWebSocketKey { get => this[HeaderNames.SecWebSocketKey]; set => this[HeaderNames.SecWebSocketKey] = value; }
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
348HeaderNames.SecWebSocketKey, 2299if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value)) 2308SetValueUnknown(HeaderNames.SecWebSocketKey, value); 10520if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value)) 10529ValidateHeaderValueCharacters(HeaderNames.SecWebSocketKey, value, EncodingSelector); 10530SetValueUnknown(HeaderNames.SecWebSocketKey, value); 16685if (!TryGetUnknown(HeaderNames.SecWebSocketKey, ref value)) 16694ValidateHeaderValueCharacters(HeaderNames.SecWebSocketKey, value, EncodingSelector); 16695SetValueUnknown(HeaderNames.SecWebSocketKey, value);
Microsoft.AspNetCore.TestHost (1)
WebSocketClient.cs (1)
82request.Headers.Add(HeaderNames.SecWebSocketKey, new string[] { CreateRequestKey() });
Microsoft.AspNetCore.WebSockets.Tests (4)
WebSocketCompressionMiddlewareTests.cs (1)
176request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));
WebSocketMiddlewareTests.cs (3)
682request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None)); 767request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None)); 838request.Headers.Add(HeaderNames.SecWebSocketKey, Convert.ToBase64String(new byte[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }, Base64FormattingOptions.None));