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