A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpmethod below:

HttpMethod Class (System.Net.Http) | Microsoft Learn

HttpMethod Class Definition

A helper class for retrieving and comparing standard HTTP methods and for creating new HTTP methods.

public ref class HttpMethod : IEquatable<System::Net::Http::HttpMethod ^>
public class HttpMethod : IEquatable<System.Net.Http.HttpMethod>
type HttpMethod = class
    interface IEquatable<HttpMethod>
Public Class HttpMethod
Implements IEquatable(Of HttpMethod)
Inheritance
Implements

The most common usage of HttpMethod is to use one of the static properties on this class. However, if an app needs a different value for the HTTP method, the HttpMethod constructor initializes a new instance of the HttpMethod with an HTTP method that the app specifies.

Constructors Properties Connect

Gets the HTTP CONNECT protocol method.

Delete

Represents an HTTP DELETE protocol method.

Get

Represents an HTTP GET protocol method.

Head

Represents an HTTP HEAD protocol method. The HEAD method is identical to GET except that the server only returns message-headers in the response, without a message-body.

Method

An HTTP method.

Options

Represents an HTTP OPTIONS protocol method.

Patch

Gets the HTTP PATCH protocol method.

Post

Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI.

Put

Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI.

Query Trace

Represents an HTTP TRACE protocol method.

Methods Operators

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4