System::Net::Http::HttpMethod class
Contents
[
Hide
]HttpMethod class
Represents an HTTP method. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
class HttpMethod : public System::IEquatable<System::SharedPtr<System::Net::Http::HttpMethod>>
Methods
Method | Description |
---|---|
Equals(System::SharedPtr<HttpMethod>) override | Determines if the the current and specified objects are equal. |
Equals(System::SharedPtr<Object>) override | Compares objects using C# Object.Equals semantics. |
static get_Delete() | Returns the ‘DELETE’ HTTP method. |
static get_Get() | Returns the ‘GET’ HTTP method. |
static get_Head() | Returns the ‘HEAD’ HTTP method. |
get_Method() | Returns a string representation of the HTTP method. |
static get_Options() | Returns the ‘OPTIONS’ HTTP method. |
static get_Post() | Returns the ‘POST’ HTTP method. |
static get_Put() | Returns the ‘PUT’ HTTP method. |
static get_Trace() | Returns the ‘TRACE’ HTTP method. |
GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
HttpMethod(String) | Constructs a new instance. |
ToString() const override | Analog of C# Object.ToString() method. Enables converting custom objects to string. |
See Also
- Class IEquatable
- Namespace System::Net::Http
- Library Aspose.PDF for C++