2 implementations of IHttpConnectionFeature
Microsoft.AspNetCore.Http (1)
Features\HttpConnectionFeature.cs (1)
11
public class HttpConnectionFeature :
IHttpConnectionFeature
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.Generated.cs (1)
32
IHttpConnectionFeature
,
22 references to IHttpConnectionFeature
Microsoft.AspNetCore.Http (4)
Features\HttpConnectionFeature.cs (1)
9
/// Default implementation for <see cref="
IHttpConnectionFeature
"/>.
Internal\DefaultConnectionInfo.cs (3)
14
private static readonly Func<IFeatureCollection,
IHttpConnectionFeature
> _newHttpConnectionFeature = f => new HttpConnectionFeature();
40
private
IHttpConnectionFeature
HttpConnectionFeature =>
98
public
IHttpConnectionFeature
? Connection;
Microsoft.AspNetCore.Http.Connections (4)
Internal\HttpConnectionDispatcher.cs (4)
604
connection.Features.Set(context.Features.Get<
IHttpConnectionFeature
>());
738
var
existingConnectionFeature = context.Features.Get<
IHttpConnectionFeature
>();
757
features.Set<
IHttpConnectionFeature
>(connectionFeature);
Microsoft.AspNetCore.Server.Kestrel.Core (14)
Internal\Http\HttpProtocol.FeatureCollection.cs (5)
156
IPAddress?
IHttpConnectionFeature
.RemoteIpAddress
162
IPAddress?
IHttpConnectionFeature
.LocalIpAddress
168
int
IHttpConnectionFeature
.RemotePort
174
int
IHttpConnectionFeature
.LocalPort
180
string
IHttpConnectionFeature
.ConnectionId
Internal\Http\HttpProtocol.Generated.cs (9)
51
internal protected
IHttpConnectionFeature
? _currentIHttpConnectionFeature;
248
else if (key == typeof(
IHttpConnectionFeature
))
400
else if (key == typeof(
IHttpConnectionFeature
))
402
_currentIHttpConnectionFeature = (
IHttpConnectionFeature
?)value;
554
else if (typeof(TFeature) == typeof(
IHttpConnectionFeature
))
556
feature = Unsafe.As<
IHttpConnectionFeature
?, TFeature?>(ref _currentIHttpConnectionFeature);
714
else if (typeof(TFeature) == typeof(
IHttpConnectionFeature
))
716
_currentIHttpConnectionFeature = Unsafe.As<TFeature?,
IHttpConnectionFeature
?>(ref feature);
864
yield return new KeyValuePair<Type, object>(typeof(
IHttpConnectionFeature
), _currentIHttpConnectionFeature);