RequestMethod Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents HTTP methods sent as part of a Request.
public readonly struct RequestMethod : IEquatable<Azure.Core.RequestMethod>
type RequestMethod = struct
Public Structure RequestMethod
Implements IEquatable(Of RequestMethod)
- Inheritance
-
RequestMethod
- Implements
Constructors
RequestMethod(String) |
Creates an instance of RequestMethod with provided method. Method must be all uppercase.
Prefer Parse(String) if |
Properties
Delete |
Gets RequestMethod instance for DELETE method. |
Get |
Gets RequestMethod instance for GET method. |
Head |
Gets RequestMethod instance for HEAD method. |
Method |
Gets the HTTP method. |
Options |
Gets RequestMethod instance for OPTIONS method. |
Patch |
Gets RequestMethod instance for PATCH method. |
Post |
Gets RequestMethod instance for POST method. |
Put |
Gets RequestMethod instance for PUT method. |
Trace |
Gets RequestMethod instance for TRACE method. |
Methods
Equals(Object) |
Indicates whether this instance and a specified object are equal. |
Equals(RequestMethod) |
Indicates whether the current object is equal to another object of the same type. |
GetHashCode() |
Returns the hash code for this instance. |
Parse(String) |
Parses string to it's RequestMethod representation. |
ToString() |
Returns the fully qualified type name of this instance. |
Operators
Equality(RequestMethod, RequestMethod) |
Compares equality of two RequestMethod instances. |
Inequality(RequestMethod, RequestMethod) |
Compares inequality of two RequestMethod instances. |