0 out of 1 rated this helpful - Rate this topic

WebRequestMethods.Http Class

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

System.Object
  System.Net.WebRequestMethods.Http

Namespace:  System.Net
Assembly:  System (in System.dll)
public static class Http

The WebRequestMethods.Http type exposes the following members.

  Name Description
Public field Static member Connect 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.
Public field Static member Get Represents an HTTP GET protocol method.
Public field Static member 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.
Public field Static member MkCol 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).
Public field Static member Post Represents an HTTP POST protocol method that is used to post a new entity as an addition to a URI.
Public field Static member Put Represents an HTTP PUT protocol method that is used to replace an entity identified by a URI.
Top

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ