8 references to GetPort
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (8)
src\Servers\Kestrel\shared\test\TransportTestHelpers\IHostPortExtensions.cs (1)
36
return $"{scheme}://127.0.0.1:{host.
GetPort
().ToString(CultureInfo.InvariantCulture)}/";
WebHostTests.cs (7)
79
var request = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
246
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
257
Assert.Single(altSvcValues1, @$"h3="":{host.
GetPort
()}""");
260
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
271
Assert.Single(altSvcValues2, @$"h3="":{host.
GetPort
()}""");
317
var request1 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");
330
var request2 = new HttpRequestMessage(HttpMethod.Get, $"https://127.0.0.1:{host.
GetPort
()}/");