Enum HttpMethods
Defines the official HTTP data transfer method (such as GET, POST, or HEAD) used by the client to query a web server.
Namespace: Cuemon.Net.Http
Assembly: Cuemon.Net.dll
Syntax
[Flags]
public enum HttpMethods
Remarks
These are the official HTTP methods as specified in RFC 2616, section 9 (except for the CONNECT method).
RFC 2616: http://www.w3.org/Protocols/rfc2616/rfc2616.html, RFC 2616 section 9: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.
Includes RFC 5789: https://tools.ietf.org/html/rfc5789 also; Patch, as some public APIs has started using this.
This enumeration has a System.FlagsAttribute that allows a bitwise combination of its member values.
Fields
Name | Description |
---|---|
Delete | Represents an HTTP DELETE protocol method. |
Get | Represents an HTTP GET protocol method. |
Head | Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body. |
Options | Represents an HTTP OPTIONS protocol method. |
Patch | Represents an HTTP PATCH protocol method. |
Post | Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI. |
Put | Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI. |
Trace | Represents an HTTP TRACE protocol method. |