2 implementations of Protocol
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
154string? IHttpExtendedConnectFeature.Protocol => ConnectProtocol;
Microsoft.AspNetCore.WebSockets.Tests (1)
Http2WebSocketTests.cs (1)
60public string Protocol { get; set; }
7 references to Protocol
InMemory.FunctionalTests (5)
Http2\Http2WebSocketTests.cs (5)
25Assert.Equal("websocket", connectFeature.Protocol); 87Assert.Equal("websocket", connectFeature.Protocol); 163Assert.Equal("websocket", connectFeature.Protocol); 602Assert.Equal("websocket", connectFeature.Protocol); 611if (connectFeature.Protocol != null)
Microsoft.AspNetCore.Http.Features (1)
IHttpExtendedConnectFeature.cs (1)
17[MemberNotNullWhen(true, nameof(Protocol))]
Microsoft.AspNetCore.WebSockets (1)
WebSocketMiddleware.cs (1)
116_isH2WebSocket = CheckSupportedWebSocketRequestH2(_context.Request.Method, _connectFeature.Protocol, _context.Request.Headers);