Table of Contents

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
Object
HttpMethodExtensions

Methods

ToHttpMethod(HttpMethod)

Converts the specified method to its equivalent HttpMethods representation.

public static HttpMethods ToHttpMethod(this HttpMethod method)

Parameters

method HttpMethod

The System.Net.Http.HttpMethod to be converted.

Returns

HttpMethods

A HttpMethods representation of the specified method.

Exceptions

System.ArgumentNullException

method cannot be null.