154 references to HttpCompletionOption
dotnet-svcutil-lib (1)
HttpStress (5)
IIS.FunctionalTests (2)
InMemory.FunctionalTests (3)
Interop.FunctionalTests (18)
HttpClientHttp2InteropTests.cs (14)
92using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
137using var response = await client.GetAsync(url, 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();
567var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
625var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
653var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
682var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
735using var response = await client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
792var requestTask = client.SendAsync(request, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
972var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
1013var response = await client.GetAsync(url, HttpCompletionOption.ResponseHeadersRead).DefaultTimeout();
Microsoft.AspNetCore.Http.Connections.Client (3)
Microsoft.AspNetCore.ResponseCompression.Tests (8)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (9)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.TestHost.Tests (24)
Microsoft.AspNetCore.WebSockets.Tests (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.Extensions.Http.Diagnostics.PerformanceTests (48)
Microsoft.Extensions.Http.Diagnostics.Tests (7)
Microsoft.ML.PerformanceTests (1)
Microsoft.ML.Tokenizers (1)
netstandard (1)
System.Net.Http (13)
System\Net\Http\HttpClient.cs (13)
22private const HttpCompletionOption DefaultCompletionOption = HttpCompletionOption.ResponseContentRead;
362public Task<HttpResponseMessage> GetAsync([StringSyntax(StringSyntaxAttribute.Uri)] string? requestUri, HttpCompletionOption completionOption) =>
365public Task<HttpResponseMessage> GetAsync(Uri? requestUri, HttpCompletionOption completionOption) =>
374public Task<HttpResponseMessage> GetAsync([StringSyntax(StringSyntaxAttribute.Uri)] string? requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) =>
377public Task<HttpResponseMessage> GetAsync(Uri? requestUri, HttpCompletionOption completionOption, CancellationToken cancellationToken) =>
449public HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption) =>
457public HttpResponseMessage Send(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
502public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption) =>
505public Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
514HttpRequestMessage request, HttpCompletionOption completionOption,
573private static bool ShouldBufferResponse(HttpCompletionOption completionOption, HttpRequestMessage request) =>
574completionOption == HttpCompletionOption.ResponseContentRead &&
System.Net.Http.Json (3)
System\Net\Http\Json\HttpClientJsonExtensions.Get.cs (2)
19static (client, uri, cancellation) => client.GetAsync(uri, HttpCompletionOption.ResponseHeadersRead, cancellation);
29FromJsonAsyncCore(static (client, uri, cancellation) => client.GetAsync(uri, HttpCompletionOption.ResponseHeadersRead, cancellation), client, requestUri, type, options, cancellationToken);
System.Net.Requests (3)
System.Net.WebSockets.Client (1)