Skip to main content

HttpMethods

Assembly: ServiceStack.Text.dll
View Source
Declaration
public static class HttpMethods

Fields

AllVerbs

View Source
Declaration
public static HashSet<string> AllVerbs

Get

View Source
Declaration
public const string Get = "GET"

Put

View Source
Declaration
public const string Put = "PUT"

Post

View Source
Declaration
public const string Post = "POST"

Delete

View Source
Declaration
public const string Delete = "DELETE"

Options

View Source
Declaration
public const string Options = "OPTIONS"

Head

View Source
Declaration
public const string Head = "HEAD"

Patch

View Source
Declaration
public const string Patch = "PATCH"

Methods

Exists(String)

View Source
Declaration
public static bool Exists(string httpMethod)
Returns

System.Boolean

Parameters
TypeName
System.StringhttpMethod

HasVerb(String)

View Source
Declaration
public static bool HasVerb(string httpVerb)
Returns

System.Boolean

Parameters
TypeName
System.StringhttpVerb