<PackageReference Include="Azure.Core" Version="1.47.2" />

RequestMethod

Represents HTTP methods sent as part of a Request.
public static RequestMethod Delete { get; }

Gets RequestMethod instance for DELETE method.

public static RequestMethod Get { get; }

Gets RequestMethod instance for GET method.

public static RequestMethod Head { get; }

Gets RequestMethod instance for HEAD method.

public static RequestMethod Options { get; }

Gets RequestMethod instance for OPTIONS method.

public static RequestMethod Patch { get; }

Gets RequestMethod instance for PATCH method.

public static RequestMethod Post { get; }

Gets RequestMethod instance for POST method.

public static RequestMethod Put { get; }

Gets RequestMethod instance for PUT method.

public static RequestMethod Trace { get; }

Gets RequestMethod instance for TRACE method.

public string Method { get; }

Gets the HTTP method.

public RequestMethod(string method)

Creates an instance of RequestMethod with provided method. Method must be all uppercase. Prefer Parse if method can be one of predefined method names.

public static bool op_Equality(RequestMethod left, RequestMethod right)

Compares equality of two RequestMethod instances.

public static bool op_Inequality(RequestMethod left, RequestMethod right)

Compares inequality of two RequestMethod instances.

public static RequestMethod Parse(string method)

Parses string to it's RequestMethod representation.

public bool Equals(RequestMethod other)

Indicates whether the current object is equal to another object of the same type.