61 references to SendAsync
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
937
_httpResponseMessage = await _httpClient.
SendAsync
(_httpRequestMessage, HttpCompletionOption.ResponseHeadersRead, _httpSendCts.Token);
HttpStress (2)
Program.cs (2)
218
Task<HttpResponseMessage> t = ctx.HttpClient.
SendAsync
(req, HttpCompletionOption.ResponseHeadersRead, cts.Token);
306
Task<HttpResponseMessage> t = ctx.HttpClient.
SendAsync
(req, HttpCompletionOption.ResponseHeadersRead, cts.Token);
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnection.cs (1)
485
using (var response = await httpClient.
SendAsync
(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false))
Internal\SendUtils.cs (1)
51
using (var response = await httpClient.
SendAsync
(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false))
Internal\ServerSentEventsTransport.cs (1)
62
response = await _httpClient.
SendAsync
(request, HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false);
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
86
using (var responseMessage = await httpClient.
SendAsync
(
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (48)
Benchmarks\HugeHttpCLientLoggingBenchmark.cs (16)
47
var response = await _hugeNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
57
var response = await _hugeNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
67
var response = await _hugeLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
77
var response = await _hugeLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
87
var response = await _hugeLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
97
var response = await _hugeLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
107
var response = await _hugeLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
117
var response = await _hugeLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
127
var response = await _hugeNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
137
var response = await _hugeNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
147
var response = await _hugeLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
157
var response = await _hugeLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
167
var response = await _hugeLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
177
var response = await _hugeLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
187
var response = await _hugeLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
197
var response = await _hugeLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
Benchmarks\MediumHttpClientLoggingBenchmark.cs (16)
47
var response = await _mediumNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
57
var response = await _mediumNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
67
var response = await _mediumLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
77
var response = await _mediumLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
87
var response = await _mediumLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
97
var response = await _mediumLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
107
var response = await _mediumLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
117
var response = await _mediumLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
127
var response = await _mediumNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
137
var response = await _mediumNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
147
var response = await _mediumLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
157
var response = await _mediumLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
167
var response = await _mediumLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
177
var response = await _mediumLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
187
var response = await _mediumLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
197
var response = await _mediumLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
Benchmarks\SmallHttpClientLoggingBenchmark.cs (16)
47
var response = await _smallNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
57
var response = await _smallNoLog.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
67
var response = await _smallLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
77
var response = await _smallLogAll.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
87
var response = await _smallLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
97
var response = await _smallLogRequest.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
107
var response = await _smallLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
117
var response = await _smallLogResponse.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
127
var response = await _smallNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
137
var response = await _smallNoLogChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
147
var response = await _smallLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
157
var response = await _smallLogAllChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
167
var response = await _smallLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
177
var response = await _smallLogRequestChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
187
var response = await _smallLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseHeadersRead, CancellationToken.None)
197
var response = await _smallLogResponseChunked.
SendAsync
(Request, HttpCompletionOption.ResponseContentRead, CancellationToken.None)
System.Net.Http (4)
System\Net\Http\HttpClient.cs (4)
385
SendAsync
(CreateRequestMessage(HttpMethod.Get, requestUri), completionOption, cancellationToken);
504
SendAsync
(request, DefaultCompletionOption, CancellationToken.None);
507
SendAsync
(request, DefaultCompletionOption, cancellationToken);
510
SendAsync
(request, completionOption, CancellationToken.None);
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1230
_httpClient.
SendAsync
(_sendRequestMessage, completionOption, _sendRequestCts.Token) :
System.Net.WebSockets.Client (1)
System\Net\WebSockets\WebSocketHandle.Managed.cs (1)
128
? client.
SendAsync
(request, HttpCompletionOption.ResponseHeadersRead, externalAndAbortCancellation.Token)