123 references to HttpRequestMessage
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1235HttpRequestMessage headHttpRequestMessage = new HttpRequestMessage()
InMemory.FunctionalTests (7)
EventSourceTests.cs (1)
188using var httpRequestMessage = new HttpRequestMessage()
Http2\Http2EndToEndTests.cs (1)
65using var httpRequestMessage = new HttpRequestMessage()
KestrelMetricsTests.cs (5)
567var httpRequestMessage = new HttpRequestMessage() 646var httpRequestMessage = new HttpRequestMessage() 724using var httpRequestMessage = new HttpRequestMessage() 805using var httpRequestMessage = new HttpRequestMessage() 893using var httpRequestMessage = new HttpRequestMessage()
Microsoft.AspNetCore.HeaderPropagation.Tests (18)
HeaderPropagationIntegrationTest.cs (4)
61var request = new HttpRequestMessage(); 109var request = new HttpRequestMessage(); 135var request = new HttpRequestMessage(); 182var request = new HttpRequestMessage();
HeaderPropagationMessageHandlerTest.cs (14)
46await Client.SendAsync(new HttpRequestMessage()); 61await Client.SendAsync(new HttpRequestMessage()); 75await Client.SendAsync(new HttpRequestMessage() { Content = new StringContent("test") }); 89await Client.SendAsync(new HttpRequestMessage() { Content = new StringContent("test") }); 103await Client.SendAsync(new HttpRequestMessage() { Content = new StringContent("test") }); 118await Client.SendAsync(new HttpRequestMessage()); 132await Client.SendAsync(new HttpRequestMessage()); 145await Client.SendAsync(new HttpRequestMessage()); 161await Client.SendAsync(new HttpRequestMessage()); 180await Client.SendAsync(new HttpRequestMessage()); 197var request = new HttpRequestMessage(); 217await Client.SendAsync(new HttpRequestMessage()); 233await Client.SendAsync(new HttpRequestMessage()); 252await Client.SendAsync(new HttpRequestMessage());
Microsoft.AspNetCore.Localization.FunctionalTests (1)
LocalizationTest.cs (1)
111var request = new HttpRequestMessage();
Microsoft.AspNetCore.Mvc.FunctionalTests (8)
JsonPatchInputFormatterTest.cs (1)
165return new HttpRequestMessage
RequestFormLimitsTest.cs (4)
39var request = new HttpRequestMessage(); 61var request = new HttpRequestMessage(); 84var request = new HttpRequestMessage(); 156var request = new HttpRequestMessage();
RequestSizeLimitTest.cs (3)
40var request = new HttpRequestMessage(); 62var request = new HttpRequestMessage(); 81var request = new HttpRequestMessage();
Microsoft.AspNetCore.Mvc.Testing (1)
Handlers\RedirectHandler.cs (1)
48var redirectRequest = new HttpRequestMessage();
Microsoft.AspNetCore.SpaServices.Extensions (1)
Proxying\SpaProxy.cs (1)
133var requestMessage = new HttpRequestMessage();
Microsoft.AspNetCore.Testing.Tests (2)
FakeCertificateHttpClientHandlerTests.cs (1)
18private readonly HttpRequestMessage _request = new();
FakesExtensionsTests.cs (1)
89using var response = await client.SendAsync(new HttpRequestMessage());
Microsoft.Extensions.Http.Diagnostics.Tests (48)
Latency\Internal\HttpLatencyTelemetryHandlerTest.cs (1)
57using var req = new HttpRequestMessage
Logging\AcceptanceTests.cs (9)
107using var httpRequestMessage = new HttpRequestMessage 162using var httpRequestMessage = new HttpRequestMessage 178using var httpRequestMessage2 = new HttpRequestMessage 243using var httpRequestMessage = new HttpRequestMessage 265using var httpRequestMessage2 = new HttpRequestMessage 308using var httpRequestMessage = new HttpRequestMessage 355using var httpRequestMessage = new HttpRequestMessage 420using var httpRequestMessage = new HttpRequestMessage 679using var httpRequestMessage = new HttpRequestMessage
Logging\HttpClientLoggerTest.cs (15)
83using var httpRequestMessage = new HttpRequestMessage 121using var httpRequestMessage = new HttpRequestMessage 183using var httpRequestMessage = new HttpRequestMessage 279using var httpRequestMessage = new HttpRequestMessage 384using var httpRequestMessage = new HttpRequestMessage 480using var httpRequestMessage = new HttpRequestMessage 595using var httpRequestMessage = new HttpRequestMessage 687using var httpRequestMessage = new HttpRequestMessage 730using var httpRequestMessage = new HttpRequestMessage 768using var httpRequestMessage = new HttpRequestMessage 812using var httpRequestMessage = new HttpRequestMessage 862using var httpRequestMessage = new HttpRequestMessage 957using var httpRequestMessage = new HttpRequestMessage 982using var httpRequestMessage = new HttpRequestMessage(); 1001using var httpRequestMessage = new HttpRequestMessage();
Logging\HttpHeadersReaderTest.cs (4)
23using var httpRequest = new HttpRequestMessage(); 41using var httpRequest = new HttpRequestMessage(); 136using var httpRequest = new HttpRequestMessage { Content = requestContent }; 177using var httpRequest = new HttpRequestMessage();
Logging\HttpRequestBodyReaderTest.cs (9)
39using var httpRequest = new HttpRequestMessage 59using var httpRequest = new HttpRequestMessage 83using var httpRequest = new HttpRequestMessage 104using var httpRequest = new HttpRequestMessage 132using var httpRequest = new HttpRequestMessage 156using var httpRequest = new HttpRequestMessage 183using var httpRequest = new HttpRequestMessage 209using var httpRequest = new HttpRequestMessage 230using var httpRequest = new HttpRequestMessage
Logging\HttpRequestReaderTest.cs (8)
80using var httpRequestMessage = new HttpRequestMessage 143using var httpRequestMessage = new HttpRequestMessage 206using var httpRequestMessage = new HttpRequestMessage 281using var httpRequestMessage = new HttpRequestMessage 353using var httpRequestMessage = new HttpRequestMessage 411using var httpRequestMessage = new HttpRequestMessage 482using var httpRequestMessage = new HttpRequestMessage 549using var httpRequestMessage = new HttpRequestMessage
Telemetry\DownstreamDependencyMetadataManagerTests.cs (2)
48using var requestMessage = new HttpRequestMessage 68using var requestMessage = new HttpRequestMessage
Microsoft.Extensions.Http.Polly.Tests (22)
DependencyInjection\PollyHttpClientBuilderExtensionsTest.cs (6)
67var response = await client.SendAsync(new HttpRequestMessage()); 102var response = await client.SendAsync(new HttpRequestMessage()); 140var response = await client.SendAsync(new HttpRequestMessage()); 181var response = await client.SendAsync(new HttpRequestMessage()); 225var response = await client.SendAsync(new HttpRequestMessage()); 437var response = await client.SendAsync(new HttpRequestMessage());
HttpRequestMessageExtensionsTest.cs (5)
16var request = new HttpRequestMessage(); 35var request = new HttpRequestMessage(); 48var request = new HttpRequestMessage(); 66var request = new HttpRequestMessage(); 87var request = new HttpRequestMessage();
PolicyHttpMessageHandlerTest.cs (11)
49var response = await handler.SendAsync(new HttpRequestMessage(), CancellationToken.None); 64var expectedRequest = new HttpRequestMessage(); 142var response = await invoke.SendAsync(new HttpRequestMessage(), CancellationToken.None); 194var response = await invoke.SendAsync(new HttpRequestMessage(), CancellationToken.None); 216await handler.SendAsync(new HttpRequestMessage(), CancellationToken.None); 264var response = await handler.SendAsync(new HttpRequestMessage(), CancellationToken.None); 288var request = new HttpRequestMessage(); 318var request = new HttpRequestMessage(); 339var request = new HttpRequestMessage(); 365var request = new HttpRequestMessage(); 402var request = new HttpRequestMessage();
Microsoft.Extensions.Http.Resilience.Tests (14)
Hedging\StandardHedgingTests.cs (1)
121using var request = new HttpRequestMessage();
Internal\RequestMessageSnapshotStrategyTests.cs (1)
22using var request = new HttpRequestMessage();
Resilience\HttpClientBuilderExtensionsTests.BySelector.cs (1)
53using var request = new HttpRequestMessage();
Resilience\HttpResilienceContextExtensionsTests.cs (3)
42using var request = new HttpRequestMessage(); 52using var request = new HttpRequestMessage(); 71using var request = new HttpRequestMessage();
Resilience\RequestMessageSnapshotTests.cs (2)
21var initialRequest = new HttpRequestMessage 55var initialRequest = new HttpRequestMessage
Resilience\ResilienceHandlerTest.cs (5)
30using var request = new HttpRequestMessage(); 68using var request = new HttpRequestMessage(); 100using var request = new HttpRequestMessage(); 131using var request = new HttpRequestMessage(); 155using var request = new HttpRequestMessage();
Routing\RoutingResilienceStrategyTests.cs (1)
37using var request = new HttpRequestMessage();