22 overrides of SendAsync
Aspire.Cli.Tests (3)
Mcp\Docs\DocsFetcherTests.cs (1)
398protected override Task<HttpResponseMessage> SendAsync(
Telemetry\InternalMicrosoftDetectorTests.cs (1)
651protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Utils\MockHttpMessageHandler.cs (1)
51protected override Task<HttpResponseMessage> SendAsync(
Aspire.Hosting.Azure.Tests (2)
AcrLoginServiceTests.cs (1)
121protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
AzureSandboxesTests.cs (1)
3053protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
810protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Aspire.Hosting.Tests (2)
WithHttpCommandTests.cs (2)
564protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) 592protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Microsoft.Arcade.Common (1)
ArcadeHttpMessageHandler.cs (1)
17protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Microsoft.AspNetCore.TestHost (1)
ClientHandler.cs (1)
74protected override async Task<HttpResponseMessage> SendAsync(
Microsoft.Extensions.AI.OpenAI.Tests (5)
OpenAIHostedFileClientTests.cs (2)
902protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) => 908protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) =>
OpenAIRequestPoliciesTests.cs (1)
163protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken)
OpenAIResponseClientTests.cs (1)
6878protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, System.Threading.CancellationToken cancellationToken)
ThrowUserAgentExceptionHandler.cs (1)
13protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) =>
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\HttpClientLoggingExtensionsTest.cs (1)
741protected override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
Microsoft.Extensions.Http.Resilience.Tests (1)
Hedging\StandardHedgingTests.cs (1)
352protected override async Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
System.Net.Http (4)
System\Net\Http\DelegatingHandler.cs (1)
53protected internal override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
System\Net\Http\HttpClientHandler.cs (1)
364protected internal override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
System\Net\Http\SocketsHttpHandler\HttpMessageHandlerStage.cs (1)
20protected internal sealed override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) =>
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
676protected internal override Task<HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpHandler.cs (1)
591protected override Task<HttpResponseMessage> SendAsync(
7 references to SendAsync
System.Net.Http (7)
System\Net\Http\DelegatingHandler.cs (1)
58return _innerHandler!.SendAsync(request, cancellationToken);
System\Net\Http\DiagnosticsHandler.cs (2)
85new ValueTask<HttpResponseMessage>(_innerHandler.SendAsync(request, cancellationToken)) : 166await _innerHandler.SendAsync(request, cancellationToken).ConfigureAwait(false) :
System\Net\Http\HttpMessageInvoker.cs (2)
78return _handler.SendAsync(request, cancellationToken); 87response = await handler.SendAsync(request, cancellationToken).ConfigureAwait(false);
System\Net\Http\Metrics\MetricsHandler.cs (2)
167new ValueTask<HttpResponseMessage>(_innerHandler.SendAsync(request, cancellationToken)) : 182await _innerHandler.SendAsync(request, cancellationToken).ConfigureAwait(false) :