Table of Contents

ToHttpMethod Method

Definition

Namespace
Cuemon.Extensions.Net.Http
Assemblies
Cuemon.Extensions.Net.dll
Source
src/Cuemon.Extensions.Net/Http/HttpMethodExtensions.cs

ToHttpMethod(HttpMethod)

Converts the specified method to its equivalent HttpMethods representation.

public static HttpMethods ToHttpMethod(this HttpMethod method)

Parameters

method HttpMethod

The HttpMethod to be converted.

Returns

HttpMethods

A HttpMethods representation of the specified method.

Exceptions

ArgumentNullException

method cannot be null.