HttpVerb enumeration
Common HTTP verbs recognized by the framework.
[Flags]
public enum HttpVerb
Values
name | value | description |
---|---|---|
Get | 0x1 | Represents the HTTP GET method. |
Head | 0x2 | Represents the HTTP HEAD method. |
Post | 0x4 | Represents the HTTP POST method. |
Put | 0x8 | Represents the HTTP PUT method. |
Patch | 0x10 | Represents the HTTP PATCH method. |
Delete | 0x20 | Represents the HTTP DELETE method. |
Options | 0x40 | Represents the HTTP OPTIONS method. |
Trace | 0x80 | Represents the HTTP TRACE method. |
PropFind | 0x100 | Represents the HTTP PROPFIND method (WebDAV). |
PropPatch | 0x200 | Represents the HTTP PROPPATCH method (WebDAV). |
MkCol | 0x400 | Represents the HTTP MKCOL method (WebDAV). |
Copy | 0x800 | Represents the HTTP COPY method (WebDAV). |
Move | 0x1000 | Represents the HTTP MOVE method (WebDAV). |
Lock | 0x2000 | Represents the HTTP LOCK method (WebDAV). |
Unlock | 0x4000 | Represents the HTTP UNLOCK method (WebDAV). |
Report | 0x8000 | Represents the HTTP REPORT method (WebDAV). |
Acl | 0x10000 | Represents the HTTP ACL method (WebDAV). |
Search | 0x20000 | Represents the HTTP SEARCH method (WebDAV). |
Merge | 0x40000 | Represents the HTTP MERGE method (WebDAV). |
Bind | 0x80000 | Represents the HTTP BIND method (WebDAV). |
Unbind | 0x100000 | Represents the HTTP UNBIND method (WebDAV). |
Rebind | 0x200000 | Represents the HTTP REBIND method (WebDAV). |
Update | 0x400000 | Represents the HTTP UPDATE method (WebDAV). |
VersionControl | 0x800000 | Represents the HTTP VERSION-CONTROL method (WebDAV). |
Checkin | 0x1000000 | Represents the HTTP CHECKIN method (WebDAV). |
Checkout | 0x2000000 | Represents the HTTP CHECKOUT method (WebDAV). |
Uncheckout | 0x4000000 | Represents the HTTP UNCHECKOUT method (WebDAV). |
MkWorkspace | 0x8000000 | Represents the HTTP MKWORKSPACE method (WebDAV). |
Label | 0x10000000 | Represents the HTTP LABEL method (WebDAV). |
OrderPatch | 0x20000000 | Represents the HTTP ORDERPATCH method (WebDAV). |
Remarks
This enum includes standard HTTP methods as well as WebDAV extensions. It is designed to be extensible for future HTTP methods. The enum values correspond to the HTTP methods as defined in various RFCs: RFC 4918 - HTTP Extensions for WebDAV RFC 3744 - WebDAV Access Control Protocol RFC 3253 - Versioning Extensions to WebDAV RFC 5323 - WebDAV SEARCH RFC 5842 - WebDAV Ordered Collections RFC 5689 - WebDAV Bindings RFC 6620 - WebDAV MERGE RFC 5689 - WebDAV BIND RFC 4918 - WebDAV RFC 7231 - HTTP/1.1 Semantics and Content RFC 7232 - HTTP/1.1 Conditional Requests RFC 7233 - HTTP/1.1 Range Requests RFC 7234 - HTTP/1.1 Caching RFC 7235 - HTTP/1.1 Authentication
See Also
- namespace Kestrun.Utilities