2 implementations of Protocol
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
154
string? IHttpExtendedConnectFeature.
Protocol
=> ConnectProtocol;
Microsoft.AspNetCore.WebSockets.Tests (1)
Http2WebSocketTests.cs (1)
60
public string
Protocol
{ get; set; }
7 references to Protocol
InMemory.FunctionalTests (5)
Http2\Http2WebSocketTests.cs (5)
25
Assert.Equal("websocket", connectFeature.
Protocol
);
87
Assert.Equal("websocket", connectFeature.
Protocol
);
163
Assert.Equal("websocket", connectFeature.
Protocol
);
602
Assert.Equal("websocket", connectFeature.
Protocol
);
611
if (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);