HttpMethods Class
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.
Contains methods to verify the request method of an HTTP request.
public ref class HttpMethods abstract sealed
public static class HttpMethods
type HttpMethods = class
Public Class HttpMethods
- Inheritance
-
HttpMethods
Fields
Connect |
HTTP "CONNECT" method. |
Delete |
HTTP "DELETE" method. |
Get |
HTTP "GET" method. |
Head |
HTTP "HEAD" method. |
Options |
HTTP "OPTIONS" method. |
Patch |
HTTP "PATCH" method. |
Post |
HTTP "POST" method. |
Put |
HTTP "PUT" method. |
Trace |
HTTP "TRACE" method. |
Methods
Equals(String, String) |
Returns a value that indicates if the HTTP methods are the same. |
GetCanonicalizedValue(String) |
Returns the equivalent static instance, or the original instance if none match. This conversion is optional but allows for performance optimizations when comparing method values elsewhere. |
IsConnect(String) |
Returns a value that indicates if the HTTP request method is CONNECT. |
IsDelete(String) |
Returns a value that indicates if the HTTP request method is DELETE. |
IsGet(String) |
Returns a value that indicates if the HTTP request method is GET. |
IsHead(String) |
Returns a value that indicates if the HTTP request method is HEAD. |
IsOptions(String) |
Returns a value that indicates if the HTTP request method is OPTIONS. |
IsPatch(String) |
Returns a value that indicates if the HTTP request method is PATCH. |
IsPost(String) |
Returns a value that indicates if the HTTP request method is POST. |
IsPut(String) |
Returns a value that indicates if the HTTP request method is PUT. |
IsTrace(String) |
Returns a value that indicates if the HTTP request method is TRACE. |