HttpMethod is a struct that acts like a string but also an enum for some intellisense help. Users may use the enum like values: Get, Post, Put, Patch, Delete, Head, Options, or enter any arbitrary method.
More...
|
| static readonly HttpVerb | Get = new HttpVerb("GET") |
| static readonly HttpVerb | Post = new HttpVerb("POST") |
| static readonly HttpVerb | Put = new HttpVerb("PUT") |
| static readonly HttpVerb | Patch = new HttpVerb("PATCH") |
| static readonly HttpVerb | Delete = new HttpVerb("DELETE") |
| static readonly HttpVerb | Head = new HttpVerb("HEAD") |
| static readonly HttpVerb | Options = new HttpVerb("OPTIONS") |
HttpMethod is a struct that acts like a string but also an enum for some intellisense help. Users may use the enum like values: Get, Post, Put, Patch, Delete, Head, Options, or enter any arbitrary method.
Definition at line 208 of file Enums.cs.
◆ operator HttpVerb()
| implicit GenerallyPositive.Enums.HttpVerb.operator HttpVerb |
( |
string | method | ) |
|
|
static |
◆ operator string()
| implicit GenerallyPositive.Enums.HttpVerb.operator string |
( |
HttpVerb | method | ) |
|
|
static |
◆ ToString()
| override string GenerallyPositive.Enums.HttpVerb.ToString |
( |
| ) |
|
◆ Delete
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Delete = new HttpVerb("DELETE") |
|
static |
◆ Get
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Get = new HttpVerb("GET") |
|
static |
◆ Head
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Head = new HttpVerb("HEAD") |
|
static |
◆ Options
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Options = new HttpVerb("OPTIONS") |
|
static |
◆ Patch
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Patch = new HttpVerb("PATCH") |
|
static |
◆ Post
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Post = new HttpVerb("POST") |
|
static |
◆ Put
| readonly HttpVerb GenerallyPositive.Enums.HttpVerb.Put = new HttpVerb("PUT") |
|
static |
The documentation for this struct was generated from the following file: