13 references to HttpMethod
Aspire.Dashboard.Tests (1)
Integration\OtlpHttpServiceTests.cs (1)
313var requestMessage = new HttpRequestMessage(new HttpMethod(method), "/v1/logs");
Aspire.Hosting.Tests (1)
WithHttpCommandTests.cs (1)
212var method = httpMethod is not null ? new HttpMethod(httpMethod) : HttpCommandOptions.Default.Method;
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1051_httpRequestMessage.Method = new HttpMethod(requestProperty.Method);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
297this.HttpRequestMessage.Method = new HttpMethod(value);
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Telemetry\HttpDependencyMetadataResolverTests.cs (2)
50Method = new HttpMethod(method: httpMethod), 70Method = new HttpMethod(method: httpMethod),
Microsoft.Extensions.Http.Resilience (2)
Polly\HttpRetryStrategyOptionsExtensions.cs (2)
21private static readonly HttpMethod _connect = new("CONNECT"); 22private static readonly HttpMethod _patch = new("PATCH");
Microsoft.Extensions.Http.Resilience.Tests (2)
Polly\HttpRetryStrategyOptionsExtensionsTests.cs (2)
49using var request = new HttpRequestMessage { Method = new HttpMethod(httpMethod) }; 108using var request = new HttpRequestMessage { Method = new HttpMethod(httpMethod) };
System.Net.Http (2)
System\Net\Http\HttpMethod.cs (2)
90/// same validation being performed as by the <see cref="HttpMethod(string)"/> constructor. 94new HttpMethod(method.ToString());
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1170_httpRequestMessage.Method = new HttpMethod(requestProperty.Method);