1 override of WebSocketRequestedProtocols
Microsoft.AspNetCore.Http (1)
Internal\DefaultWebSocketManager.cs (1)
53public override IList<string> WebSocketRequestedProtocols
7 references to WebSocketRequestedProtocols
Microsoft.AspNetCore.Http.Connections (1)
Internal\Transports\WebSocketsServerTransport.cs (1)
41var subProtocol = _options.SubProtocolSelector?.Invoke(context.WebSockets.WebSocketRequestedProtocols);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
216foreach (var protocol in context.WebSockets.WebSocketRequestedProtocols)
Microsoft.AspNetCore.TestHost.Tests (4)
TestClientTests.cs (4)
651if (ctx.WebSockets.WebSocketRequestedProtocols.Contains("alpha") && 652ctx.WebSockets.WebSocketRequestedProtocols.Contains("bravo")) 662var subprotocols = ctx.WebSockets.WebSocketRequestedProtocols.Any() 663? string.Join(", ", ctx.WebSockets.WebSocketRequestedProtocols)
Microsoft.AspNetCore.WebSockets.Tests (1)
Http2WebSocketTests.cs (1)
29Assert.Equal(new[] { "p1", "p2" }, httpContext.WebSockets.WebSocketRequestedProtocols);