26 references to Method
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
2448commandName ??= $"{endpoint.Resource.Name}-{endpoint.EndpointName}-http-{commandOptions.Method.Method.ToLowerInvariant()}-{path}";
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
292return this.HttpRequestMessage.Method.Method;
Microsoft.Extensions.Http.Diagnostics (1)
Http\HttpDependencyMetadataResolver.cs (1)
72return GetRequestMetadataInternal(requestMessage.Method.Method, requestMessage.RequestUri.AbsolutePath, hostMetadata);
System.Net.Http (17)
System\Net\Http\DiagnosticsHandler.cs (3)
116activity.DisplayName = HttpMethod.GetKnownMethod(request.Method.Method)?.Method ?? "HTTP"; 125activity.SetTag("http.request.method_original", request.Method.Method);
System\Net\Http\DiagnosticsHelper.cs (2)
24HttpMethod? known = HttpMethod.GetKnownMethod(method.Method); 26return new KeyValuePair<string, object?>("http.request.method", isUnknownMethod ? "_OTHER" : known!.Method);
System\Net\Http\HttpClient.cs (1)
587!string.Equals(request.Method.Method, "HEAD", StringComparison.OrdinalIgnoreCase);
System\Net\Http\HttpMethod.SocketsHttpHandler.cs (10)
51HttpMethod? knownMethod = GetKnownMethod(Method); 56Debug.Assert(Ascii.IsValid(Method)); 58string method = knownMethod?.Method ?? Method; 72HttpMethod? knownMethod = GetKnownMethod(Method); 81_ => HPackEncoder.EncodeLiteralHeaderFieldWithoutIndexingToAllocatedArray(H2StaticTable.MethodGet, knownMethod?.Method ?? Method) 93HttpMethod? knownMethod = GetKnownMethod(Method); 100: QPackEncoder.EncodeLiteralHeaderFieldWithStaticNameReferenceToArray(H3StaticTable.MethodGet, knownMethod?.Method ?? Method);
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (1)
147string a2 = request.Method.Method + ":" + request.RequestUri.PathAndQuery;
System.Net.Http.WinHttpHandler (2)
System\Net\Http\WinHttpHandler.cs (2)
1050state.RequestMessage.Method.Method, 1075state.RequestMessage.Method.Method,
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
39private string _originVerb = HttpMethod.Get.Method; 1077if (string.Equals(HttpMethod.Get.Method, _originVerb, StringComparison.OrdinalIgnoreCase) || 1078string.Equals(HttpMethod.Head.Method, _originVerb, StringComparison.OrdinalIgnoreCase) ||
System\Net\HttpWebResponse.cs (1)
225return _httpResponseMessage.RequestMessage!.Method.Method;