A helper class for retrieving and comparing standard HTTP methods and for creating new HTTP methods.
public ref class HttpMethod : IEquatable<System::Net::Http::HttpMethod ^>
public class HttpMethod : IEquatable<System.Net.Http.HttpMethod>
type HttpMethod = class
interface IEquatable<HttpMethod>
Public Class HttpMethod
Implements IEquatable(Of HttpMethod)
The most common usage of HttpMethod is to use one of the static properties on this class. However, if an app needs a different value for the HTTP method, the HttpMethod constructor initializes a new instance of the HttpMethod with an HTTP method that the app specifies.
Constructors Properties ConnectGets the HTTP CONNECT protocol method.
DeleteRepresents an HTTP DELETE protocol method.
GetRepresents an HTTP GET protocol method.
HeadRepresents 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.
MethodAn HTTP method.
OptionsRepresents an HTTP OPTIONS protocol method.
PatchGets the HTTP PATCH protocol method.
PostRepresents an HTTP POST protocol method that is used to post a new entity as an addition to a URI.
PutRepresents an HTTP PUT protocol method that is used to replace an entity identified by a URI.
Query TraceRepresents an HTTP TRACE protocol method.
Methods OperatorsCollaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4