7 references to GetKnownMethod
System.Net.Http (7)
System\Net\Http\DiagnosticsHandler.cs (1)
116activity.DisplayName = HttpMethod.GetKnownMethod(request.Method.Method)?.Method ?? "HTTP";
System\Net\Http\DiagnosticsHelper.cs (1)
48HttpMethod? known = HttpMethod.GetKnownMethod(method.Method);
System\Net\Http\HttpMethod.cs (1)
89GetKnownMethod(method) ??
System\Net\Http\HttpMethod.SocketsHttpHandler.cs (4)
24Initialize(GetKnownMethod(method)?._http3Index ?? 0); 51HttpMethod? knownMethod = GetKnownMethod(Method); 75HttpMethod? knownMethod = GetKnownMethod(Method); 99HttpMethod? knownMethod = GetKnownMethod(Method);