13 references to SecWebSocketProtocol
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
200StringValues SecWebSocketProtocol { get => this[HeaderNames.SecWebSocketProtocol]; set => this[HeaderNames.SecWebSocketProtocol] = value; }
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
349HeaderNames.SecWebSocketProtocol, 2316if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value)) 2325SetValueUnknown(HeaderNames.SecWebSocketProtocol, value); 10538if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value)) 10547ValidateHeaderValueCharacters(HeaderNames.SecWebSocketProtocol, value, EncodingSelector); 10548SetValueUnknown(HeaderNames.SecWebSocketProtocol, value); 16703if (!TryGetUnknown(HeaderNames.SecWebSocketProtocol, ref value)) 16712ValidateHeaderValueCharacters(HeaderNames.SecWebSocketProtocol, value, EncodingSelector); 16713SetValueUnknown(HeaderNames.SecWebSocketProtocol, value);
Microsoft.AspNetCore.TestHost (1)
WebSocketClient.cs (1)
85request.Headers.Add(HeaderNames.SecWebSocketProtocol, SubProtocols.ToArray());
Microsoft.AspNetCore.TestHost.Tests (1)
TestClientTests.cs (1)
582Assert.False(ctx.Request.Headers.ContainsKey(HeaderNames.SecWebSocketProtocol));