52 references to GetPort
Interop.FunctionalTests (52)
H2SpecTests.cs (1)
53
await H2SpecCommands.RunTest(testCase.Id, host.
GetPort
(), testCase.Https, Logger);
Http2\Http2RequestTests.cs (7)
68
socket.Connect(IPAddress.Loopback, host.
GetPort
());
83
Assert.Equal(host.
GetPort
(), (int)tags.Single(t => t.Key == "server.port").Value);
126
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://[::1]:{host.
GetPort
()}/");
150
Assert.Equal(host.
GetPort
(), (int)m.Tags["server.port"]);
183
var request1 = new HttpRequestMessage(HttpMethod.Get, $"http://127.0.0.1:{host.
GetPort
()}/");
209
var request = new HttpRequestMessage(HttpMethod.Get, $"http://127.0.0.1:{host.
GetPort
()}/");
293
var request = new HttpRequestMessage(HttpMethod.Get, $"http://127.0.0.1:{host.
GetPort
()}/");
Http3\Http3RequestTests.cs (36)
89
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
111
Assert.Equal(host.
GetPort
(), (int)m.Tags["server.port"]);
148
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
250
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
293
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
374
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
417
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
488
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
559
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
619
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
675
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
724
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
777
var address = $"https://127.0.0.1:{host.
GetPort
()}/";
851
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
862
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
911
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
924
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
940
var request3 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1013
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
1110
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
1257
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
1316
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1369
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
1422
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1432
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1488
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1499
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1541
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1559
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
1716
var port = host.
GetPort
();
1777
var port = host.
GetPort
();
1882
var port = host.
GetPort
();
1959
var port = host.
GetPort
();
2033
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
2129
var request = new HttpRequestMessage(HttpMethod.Post, $"https://127.0.0.1:{host.
GetPort
()}/");
2183
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
Http3\Http3TlsTests.cs (7)
56
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
103
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
145
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
194
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
244
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
322
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
473
var request = new HttpRequestMessage(HttpMethod.Get, $"https://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)}/";