Class HttpMethodExtensions
- Namespace
- Cuemon.Extensions.Net.Http
- Assembly
- Cuemon.Extensions.Net.dll
This is an extension implementation of the System.Net.Http.HttpMethod class.
public static class HttpMethodExtensions
- Inheritance
-
ObjectHttpMethodExtensions
Methods
ToHttpMethod(HttpMethod)
Converts the specified method
to its equivalent HttpMethods representation.
public static HttpMethods ToHttpMethod(this HttpMethod method)
Parameters
method
HttpMethodThe System.Net.Http.HttpMethod to be converted.
Returns
- HttpMethods
A HttpMethods representation of the specified
method
.
Exceptions
- System.ArgumentNullException
method
cannot be null.