5 implementations of LocalPort
Microsoft.AspNetCore.Http (1)
Features\HttpConnectionFeature.cs (1)
20public int LocalPort { get; set; }
Microsoft.AspNetCore.Owin (1)
OwinFeatureCollection.cs (1)
217int IHttpConnectionFeature.LocalPort
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
276int IHttpConnectionFeature.LocalPort
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.IHttpConnectionFeature.cs (1)
54int IHttpConnectionFeature.LocalPort
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.FeatureCollection.cs (1)
174int IHttpConnectionFeature.LocalPort
4 writes to LocalPort
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
77set { HttpConnectionFeature.LocalPort = value; }
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
434{ OwinConstants.CommonKeys.LocalPort, new FeatureMap<IHttpConnectionFeature>(feature => PortToString(feature.LocalPort), (feature, value) => feature.LocalPort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
789((IHttpConnectionFeature)this).LocalPort = localIPEndPoint.Port;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
544((IHttpConnectionFeature)this).LocalPort = localIPEndPoint.Port;
5 references to LocalPort
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
76get { return HttpConnectionFeature.LocalPort; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
745connectionFeature.LocalPort = existingConnectionFeature.LocalPort;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
434{ OwinConstants.CommonKeys.LocalPort, new FeatureMap<IHttpConnectionFeature>(feature => PortToString(feature.LocalPort), (feature, value) => feature.LocalPort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
780return new IPEndPoint(localIp, ((IHttpConnectionFeature)this).LocalPort);
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
535return new IPEndPoint(localIp, ((IHttpConnectionFeature)this).LocalPort);