1 override of Send
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
103
public override System.Net.Http.HttpResponseMessage
Send
(System.Net.Http.HttpRequestMessage request, System.Threading.CancellationToken cancellationToken) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); }
2 references to Send
Microsoft.AspNetCore.TestHost.Tests (1)
ClientHandlerTests.cs (1)
345
Assert.Throws<NotSupportedException>(() => invoker.
Send
(message, CancellationToken.None));
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\ResilienceHandlerTest.cs (1)
175
return Task.FromResult(invoker.
Send
(request, cancellationToken));