21 references to HttpClientSlim
Microsoft.AspNetCore.InternalTesting.Tests (6)
Sockets.BindTests (15)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (15)
205var response = await HttpClientSlim.GetStringAsync(testUrl, validateCertificate: false);
262var response = await HttpClientSlim.GetStringAsync(expectedUrl, validateCertificate: false);
333var response = await HttpClientSlim.GetStringAsync(testUrlWithPort, validateCertificate: false);
388var response = await HttpClientSlim.GetStringAsync(testUrl, validateCertificate: false);
435var response = await HttpClientSlim.GetStringAsync(testUrl, validateCertificate: false);
526Assert.Equal(new Uri(address).ToString(), await HttpClientSlim.GetStringAsync(address, validateCertificate: false));
641Assert.Equal(new Uri(useUrlsAddressWithPort).ToString(), await HttpClientSlim.GetStringAsync(useUrlsAddressWithPort));
686Assert.Equal(new Uri(endPointAddress).ToString(), await HttpClientSlim.GetStringAsync(endPointAddress, validateCertificate: false));
722Assert.Equal(new Uri(endPointAddress).ToString(), await HttpClientSlim.GetStringAsync(endPointAddress, validateCertificate: false));
811Assert.Equal(endPointAddress, await HttpClientSlim.GetStringAsync(endPointAddress));
831Assert.Equal(endPointAddress, await HttpClientSlim.GetStringAsync(endPointAddress));
862Assert.Equal(ipv4endPointAddress, await HttpClientSlim.GetStringAsync(ipv4endPointAddress));
863Assert.Equal(ipv6endPointAddress, await HttpClientSlim.GetStringAsync(ipv6endPointAddress));
884Assert.Equal(ipv4endPointAddress, await HttpClientSlim.GetStringAsync(ipv4endPointAddress));
885Assert.Equal(ipv6endPointAddress, await HttpClientSlim.GetStringAsync(ipv6endPointAddress));