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