[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The System.Net.Http namespace provides a programming interface for modern HTTP applications.
The System.Net.Http namespace is designed to provide the following:
-
HTTP client components that allow users to consume modern web services over HTTP.
-
HTTP components that can be used by both clients and servers (HTTP headers and messages, for example). This provides a consistent programming model on both the client and the server side for modern web services over HTTP.
The System.Net.Http namespace and the related System.Net.Http.Headers namespace provide the following set of components:
-
HttpClient
- the primary class used to send and receive requests over HTTP.
-
HttpRequestMessage
and HttpResponseMessage - HTTP messages as defined in RFC 2616 by the IETF.
-
HttpHeaders
- HTTP headers as defined in RFC 2616 by the IETF.
-
HttpClientHandler
- HTTP handlers responsible for producing HTTP response messages.
Classes in the System.Net.Http and System.Net.Http.Headers namespaces can be used to develop Metro style apps or desktop apps. When used in a Metro style app, classes in the System.Net.Http and System.Net.Http.Headers namespaces are affected by network isolation feature, part of the application security model used by the Windows Developer Preview. The appropriate network capabilities must be enabled in the app manifest for a Metro style app for the system to allow network access by a Metro style app. For more information, see the Network Isolation for Metro Style Apps.

Classes

See Also