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)
272int 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)
81(feature, value) => feature.LocalPort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
RequestTests.cs (2)
107connectionInfo.LocalPort = 54321; 170connectionInfo.LocalPort = -1;
7 references to LocalPort
Microsoft.AspNetCore.Http (1)
Internal\DefaultConnectionInfo.cs (1)
76get { return HttpConnectionFeature.LocalPort; }
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
740connectionFeature.LocalPort = existingConnectionFeature.LocalPort;
Microsoft.AspNetCore.Owin (1)
OwinEnvironment.cs (1)
80{ OwinConstants.CommonKeys.LocalPort, new FeatureMap<IHttpConnectionFeature>(feature => feature.LocalPort.ToString(CultureInfo.InvariantCulture),
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (3)
RequestTests.cs (3)
46Assert.NotEqual(0, connectionInfo.LocalPort); 108Assert.Equal(54321, connectionInfo.LocalPort); 171Assert.Equal(-1, connectionInfo.LocalPort);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (1)
Hubs.cs (1)
87feature.LocalPort,