41 references to SendAsync
HttpStress (3)
Program.cs (3)
258using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req, HttpCompletionOption.ResponseHeadersRead)) 272using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req, HttpCompletionOption.ResponseHeadersRead)) 288using (HttpResponseMessage m = await ctx.HttpClient.SendAsync(req, HttpCompletionOption.ResponseHeadersRead))
InMemory.FunctionalTests (3)
KestrelMetricsTests.cs (3)
574responseMessage = await httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 653responseMessage = await httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 813using var responseMessage = await httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
Interop.FunctionalTests (11)
Http3\Http3RequestTests.cs (4)
1019var responseTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 1116var responseTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 1262var responseTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 1321var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead);
HttpClientHttp2InteropTests.cs (7)
92using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 186using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 299var responseTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 376var responseTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 436using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 735using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 792var requestTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
Microsoft.AspNetCore.ResponseCompression.Tests (8)
ResponseCompressionMiddlewareTest.cs (8)
656var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 701var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 753var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 806var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 876var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 940var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 1004var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead); 1215var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead);
Microsoft.AspNetCore.TestHost.Tests (7)
TestClientTests.cs (7)
205var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 313var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 370var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 432var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 479var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 530var response = await client.SendAsync(httpRequest, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout(); 851var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead);
Microsoft.AspNetCore.WebSockets.Tests (1)
WebSocketMiddlewareTests.cs (1)
840var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead);
Microsoft.Extensions.Http.Diagnostics.Tests (7)
Logging\AcceptanceTests.cs (5)
198.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead) 593_ = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead); 619_ = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead); 642_ = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead); 688var content = await client.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead);
Logging\Internal\TestHttpClient1.cs (1)
20return _httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead);
Logging\Internal\TestHttpClient2.cs (1)
20return _httpClient.SendAsync(httpRequestMessage, HttpCompletionOption.ResponseHeadersRead);
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (1)
46return client.SendAsync(request, default);