48 references to HttpRequestMessage
AuthSamples.FunctionalTests (1)
HttpClientExtensions.cs (1)
47var submision = new HttpRequestMessage(new HttpMethod(submit.Method.ToString()), target)
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
594var requestMessage = new HttpRequestMessage(HttpMethod.Post, httpRequestUri);
GenerateRulesMissingDocumentation (1)
Program.cs (1)
113var request = new HttpRequestMessage(HttpMethod.Head, uri);
Microsoft.AspNetCore.Authentication.Test (4)
WsFederation\WsFederationTest.cs (2)
133request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location); 160var request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location);
WsFederation\WsFederationTest_Handler.cs (2)
131request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location); 158var request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location);
Microsoft.AspNetCore.Http.Connections.Client (6)
HttpConnection.cs (1)
472using (var request = new HttpRequestMessage(HttpMethod.Post, uri))
Internal\LongPollingTransport.cs (3)
54var request = new HttpRequestMessage(HttpMethod.Get, url); 154var request = new HttpRequestMessage(HttpMethod.Get, pollUrl); 233var request = new HttpRequestMessage(HttpMethod.Delete, url);
Internal\SendUtils.cs (1)
43var request = new HttpRequestMessage(HttpMethod.Post, sendUrl);
Internal\ServerSentEventsTransport.cs (1)
55var request = new HttpRequestMessage(HttpMethod.Get, url);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Extensions\HttpClientExtensions.cs (1)
49var submision = new HttpRequestMessage(new HttpMethod(submit.Method.ToString()), target)
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
RazorPagesTest.cs (3)
508request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location); 533request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location); 558request = new HttpRequestMessage(HttpMethod.Get, response.Headers.Location);
Microsoft.AspNetCore.SpaServices.Extensions (1)
AngularCli\AngularCliMiddleware.cs (1)
114new HttpRequestMessage(HttpMethod.Head, cliServerUri),
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Logging\AcceptanceTests.cs (3)
591using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri); 617using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri); 640using var httpRequestMessage = new HttpRequestMessage(HttpMethod.Get, _unreachableRequestUri);
Microsoft.Extensions.Http.Resilience (1)
Internal\RequestMessageSnapshot.cs (1)
34var clone = new HttpRequestMessage(_method!, _requestUri)
Microsoft.Extensions.Http.Resilience.PerformanceTests (4)
HedgingBenchmark.cs (1)
16private static HttpRequestMessage Request => new(HttpMethod.Post, _uri);
HttpResilienceBenchmark.cs (1)
27var request = new HttpRequestMessage(HttpMethod.Post, _uri);
RetryBenchmark.cs (1)
25private static HttpRequestMessage Request => new(HttpMethod.Post, _uri);
StandardResilienceBenchmark.cs (1)
25private static HttpRequestMessage Request => new(HttpMethod.Post, _uri);
Microsoft.Extensions.Logging.AzureAppServices (2)
BlobAppendReferenceWrapper.cs (2)
35var message = new HttpRequestMessage(HttpMethod.Put, _appendUri) 49var message = new HttpRequestMessage(HttpMethod.Put, _fullUri)
Microsoft.Extensions.ML (1)
ModelLoaders\UriModelLoader.cs (1)
109var headRequest = new HttpRequestMessage(HttpMethod.Head, uri);
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
63var request = new HttpRequestMessage(method, uri);
System.Net.Http (4)
System\Net\Http\HttpClient.cs (1)
821new HttpRequestMessage(method, uri) { Version = _defaultRequestVersion, VersionPolicy = _defaultVersionPolicy };
System\Net\Http\HttpRequestMessage.cs (2)
120: this(HttpMethod.Get, (Uri?)null) 138: this(method, string.IsNullOrEmpty(requestUri) ? null : new Uri(requestUri, UriKind.RelativeOrAbsolute))
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
784HttpRequestMessage tunnelRequest = new HttpRequestMessage(HttpMethod.Connect, _proxyUri);
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1175_sendRequestMessage = new HttpRequestMessage(HttpMethod.Parse(_originVerb), _requestUri);
System.Net.WebSockets.Client (2)
System\Net\WebSockets\WebSocketHandle.Managed.cs (2)
87request = new HttpRequestMessage(HttpMethod.Connect, uri) { Version = HttpVersion.Version20 }; 92request = new HttpRequestMessage(HttpMethod.Get, uri) { Version = HttpVersion.Version11 };
Templates.Blazor.Tests (3)
BlazorWebTemplateTest.cs (1)
85var request = new HttpRequestMessage(HttpMethod.Get, new Uri(aspNetProcess.ListeningUri, "/_framework/blazor.boot.json"));
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
136var request = new HttpRequestMessage( 257var request = new HttpRequestMessage(
Templates.Blazor.WebAssembly.Auth.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
136var request = new HttpRequestMessage( 257var request = new HttpRequestMessage(
Templates.Blazor.WebAssembly.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
136var request = new HttpRequestMessage( 257var request = new HttpRequestMessage(
Templates.Mvc.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
136var request = new HttpRequestMessage( 257var request = new HttpRequestMessage(
Templates.Tests (2)
src\ProjectTemplates\Shared\AspNetProcess.cs (2)
136var request = new HttpRequestMessage( 257var request = new HttpRequestMessage(