1 write to HttpClientSlim
InMemory.FunctionalTests (1)
TestTransport\TestServer.cs (1)
75HttpClientSlim = new InMemoryHttpClientSlim(this);
17 references to HttpClientSlim
InMemory.FunctionalTests (17)
HttpsConnectionMiddlewareTests.cs (9)
60var result = await server.HttpClientSlim.PostAsync($"https://localhost:{server.Port}/", 94var result = await server.HttpClientSlim.PostAsync($"https://localhost:{server.Port}/", 121var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 162var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 200var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 218() => server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/")); 242var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 270var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 1124var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false);
LoggingConnectionMiddlewareTests.cs (1)
34var response = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false)
RequestTests.cs (7)
48Assert.Equal(string.Empty, await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/")); 49Assert.Equal(string.Empty, await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/")); 72Assert.Equal("hello, world", await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/")); 73Assert.Equal("hello, world", await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/")); 105Assert.Equal("hello, world", await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/")); 581var requestId = await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/"); 607var id = await server.HttpClientSlim.GetStringAsync($"http://localhost:{server.Port}/");