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); 160var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 196var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 214() => server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/")); 238var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 266var result = await server.HttpClientSlim.GetStringAsync($"https://localhost:{server.Port}/", validateCertificate: false); 1120var 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}/");