21 references to WebSocketSubProtocols
InMemory.FunctionalTests (8)
Http2\Http2WebSocketTests.cs (8)
55new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 121new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 212new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 345new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 414new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 482new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 544new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"), 654new KeyValuePair<string, string>(HeaderNames.WebSocketSubProtocols, "chat, superchat"),
Microsoft.AspNetCore.Http (1)
Internal\DefaultWebSocketManager.cs (1)
57return HttpRequestFeature.Headers.GetCommaSeparatedValues(HeaderNames.WebSocketSubProtocols);
Microsoft.AspNetCore.Http.Connections.Tests (1)
WebSocketsTests.cs (1)
374context.Request.Headers.Add(HeaderNames.WebSocketSubProtocols, providedSubProtocols.ToArray());
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
254StringValues WebSocketSubProtocols { get => this[HeaderNames.WebSocketSubProtocols]; set => this[HeaderNames.WebSocketSubProtocols] = value; }
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\Http\HttpHeaders.Generated.cs (9)
367HeaderNames.WebSocketSubProtocols, 2452if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value)) 2461SetValueUnknown(HeaderNames.WebSocketSubProtocols, value); 10718if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value)) 10727ValidateHeaderValueCharacters(HeaderNames.WebSocketSubProtocols, value, EncodingSelector); 10728SetValueUnknown(HeaderNames.WebSocketSubProtocols, value); 17027if (!TryGetUnknown(HeaderNames.WebSocketSubProtocols, ref value)) 17036ValidateHeaderValueCharacters(HeaderNames.WebSocketSubProtocols, value, EncodingSelector); 17037SetValueUnknown(HeaderNames.WebSocketSubProtocols, value);