12 references to GetPort
Sockets.FunctionalTests (12)
SocketTransportTests.cs (1)
55var response = await client.GetAsync($"http://127.0.0.1:{host.GetPort()}/");
src\Servers\Kestrel\shared\test\TransportTestHelpers\IHostPortExtensions.cs (1)
36return $"{scheme}://127.0.0.1:{host.GetPort().ToString(CultureInfo.InvariantCulture)}/";
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (2)
137var port = host.GetPort(); 231var port = host.GetPort();
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (6)
118socket.Connect(new IPEndPoint(IPAddress.Loopback, host.GetPort())); 187var response = await client.GetAsync($"http://127.0.0.1:{host.GetPort()}/"); 570socket.Connect(new IPEndPoint(IPAddress.Loopback, host.GetPort())); 617socket.Connect(new IPEndPoint(IPAddress.Loopback, host.GetPort())); 711socket.Connect(new IPEndPoint(IPAddress.Loopback, host.GetPort())); 1123var response = await client.GetAsync($"http://{requestAddress}:{host.GetPort()}/");
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
78var response = await client.GetAsync($"http://127.0.0.1:{host.GetPort()}/"); 127var response = await client.GetAsync($"http://127.0.0.1:{host.GetPort()}/");