WebRequestMethods.Http Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents the types of HTTP protocol methods that can be used with an HTTP request.

Namespace:   System.Net
Assembly:  System (in System.dll)


public static class Http


Represents the HTTP CONNECT protocol method that is used with a proxy that can dynamically switch to tunneling, as in the case of SSL tunneling.


Represents an HTTP GET protocol method.


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.


Represents an HTTP MKCOL request that creates a new collection (such as a collection of pages) at the location specified by the request-Uniform Resource Identifier (URI).


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


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

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top