5 implementations of RemotePort
Microsoft.AspNetCore.Http (1)
Features\HttpConnectionFeature.cs (1)
26public int RemotePort { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
211int IHttpConnectionFeature.RemotePort
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
294int IHttpConnectionFeature.RemotePort
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.IHttpConnectionFeature.cs (1)
40int IHttpConnectionFeature.RemotePort
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
168int IHttpConnectionFeature.RemotePort
4 writes to RemotePort
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
65set { HttpConnectionFeature.RemotePort = value; }
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
435{ OwinConstants.CommonKeys.RemotePort, new FeatureMap<IHttpConnectionFeature>(feature => PortToString(feature.RemotePort), (feature, value) => feature.RemotePort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
810((IHttpConnectionFeature)this).RemotePort = remoteIPEndPoint.Port;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
565((IHttpConnectionFeature)this).RemotePort = remoteIPEndPoint.Port;
5 references to RemotePort
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
64get { return HttpConnectionFeature.RemotePort; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
747connectionFeature.RemotePort = existingConnectionFeature.RemotePort;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
435{ OwinConstants.CommonKeys.RemotePort, new FeatureMap<IHttpConnectionFeature>(feature => PortToString(feature.RemotePort), (feature, value) => feature.RemotePort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
801return new IPEndPoint(remoteIp, ((IHttpConnectionFeature)this).RemotePort);
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
556return new IPEndPoint(remoteIp, ((IHttpConnectionFeature)this).RemotePort);