Пример #1
0
 static HttpMethod ParseHttpMethod(string method) =>
 HttpMethods.GetValue(method, m => new FormatException($"'{m}' is not a valid HTTP method."));