2 implementations of IHttpExtendedConnectFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
29IHttpExtendedConnectFeature,
Microsoft.AspNetCore.WebSockets.Tests (1)
Http2WebSocketTests.cs (1)
57public sealed class ConnectFeature : IHttpExtendedConnectFeature
35 references to IHttpExtendedConnectFeature
InMemory.FunctionalTests (16)
Http2\Http2WebSocketTests.cs (16)
22var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 84var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 160var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 332var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 395var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 453var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 523var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 596var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>();
Microsoft.AspNetCore.Server.Kestrel.Core (12)
Internal\Http\HttpProtocol.FeatureCollection.cs (3)
152bool IHttpExtendedConnectFeature.IsExtendedConnect => IsExtendedConnectRequest; 154string? IHttpExtendedConnectFeature.Protocol => ConnectProtocol; 292async ValueTask<Stream> IHttpExtendedConnectFeature.AcceptAsync()
Internal\Http\HttpProtocol.Generated.cs (9)
48internal protected IHttpExtendedConnectFeature? _currentIHttpExtendedConnectFeature; 272else if (key == typeof(IHttpExtendedConnectFeature)) 424else if (key == typeof(IHttpExtendedConnectFeature)) 426_currentIHttpExtendedConnectFeature = (IHttpExtendedConnectFeature?)value; 578else if (typeof(TFeature) == typeof(IHttpExtendedConnectFeature)) 580feature = Unsafe.As<IHttpExtendedConnectFeature?, TFeature?>(ref _currentIHttpExtendedConnectFeature); 738else if (typeof(TFeature) == typeof(IHttpExtendedConnectFeature)) 740_currentIHttpExtendedConnectFeature = Unsafe.As<TFeature?, IHttpExtendedConnectFeature?>(ref feature); 888yield return new KeyValuePair<Type, object>(typeof(IHttpExtendedConnectFeature), _currentIHttpExtendedConnectFeature);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http1\Http1HttpProtocolFeatureCollectionTests.cs (2)
119_collection[typeof(IHttpExtendedConnectFeature)] = CreateHttp1Connection(); 149_collection.Set<IHttpExtendedConnectFeature>(CreateHttp1Connection());
Microsoft.AspNetCore.WebSockets (4)
WebSocketMiddleware.cs (4)
60var connectFeature = context.Features.Get<IHttpExtendedConnectFeature>(); 93private readonly IHttpExtendedConnectFeature? _connectFeature; 99public WebSocketHandshake(HttpContext context, IHttpUpgradeFeature? upgradeFeature, IHttpExtendedConnectFeature? connectFeature, WebSocketOptions options, ILogger logger)
Microsoft.AspNetCore.WebSockets.Tests (1)
Http2WebSocketTests.cs (1)
40httpContext.Features.Set<IHttpExtendedConnectFeature>(new ConnectFeature()