HttpVerb Class
- Namespace
- Kampute.HttpClient
- Assembly
- Kampute.HttpClient.dll
Definition
Provides the standard HTTP methods on every target framework.
public static class HttpVerb- Inheritance
- object
- HttpVerb
Remarks
Fields
Delete
The DELETE method, which removes the target resource.
public static readonly HttpMethod DeleteField Value
Get
The GET method, which retrieves a representation of the target resource without changing it.
public static readonly HttpMethod GetField Value
Head
The HEAD method, which is identical to GET except that the response has no body.
public static readonly HttpMethod HeadField Value
Options
The OPTIONS method, which asks for the communication options of the target resource, such as the methods it supports.
public static readonly HttpMethod OptionsField Value
Patch
The PATCH method, which applies a partial update to the target resource.
public static readonly HttpMethod PatchField Value
Post
The POST method, which submits the payload to the target resource for processing, such as to create a resource.
public static readonly HttpMethod PostField Value
Put
The PUT method, which replaces the target resource with the payload.
public static readonly HttpMethod PutField Value
Trace
The TRACE method, which asks the server to echo the request it received, for diagnostics.
public static readonly HttpMethod Trace

Patchproperty on .NET Standard 2.0; this class provides it there too.