HttpMethod Class
Represents utility class for retrieving and comparing standard HTTP methods.
Inheritance Hierarchy
SystemObject
  Aspose.Html.NetHttpMethod

Namespace: Aspose.Html.Net
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.4
Syntax
public class HttpMethod : IEquatable<HttpMethod>

The HttpMethod type exposes the following members.

Constructors
  NameDescription
Public methodHttpMethod
Initializes a new instance of the HttpMethod class with a specific HTTP method.
Properties
  NameDescription
Public propertyStatic memberDelete
Represents an HTTP DELETE protocol method.
Public propertyStatic memberGet
Represents an HTTP GET protocol method.
Public propertyStatic memberPost
Represents an HTTP POST protocol method.
Public propertyStatic memberPut
Represents an HTTP PUT protocol method.
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Public methodEquals(HttpMethod)
Indicates whether the current object is equal to another object of the same type.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Implements the equality operator.
Public operatorStatic member(String to HttpMethod)
Performs an explicit conversion from String to HttpMethod.
Public operatorStatic memberInequality
Implements the equality operator.
See Also