Export (0) Print
Expand All
9 out of 19 rated this helpful - Rate this topic

System.Net.Http Namespace

The System.Net.Http namespace contains classes of HTTP attributes.

  Class Description
Public class ByteArrayContent Provides HTTP content based on a byte array.
Public class ByteRangeStreamContent HttpContent implementation which provides a byte range view over a stream used to generate HTTP 206 (Partial Content) byte range responses. The ByteRangeStreamContent supports one or more byte ranges regardless of whether the ranges are consecutive or not. If there is only one range then a single partial response body containing a Content-Range header is generated. If there are more than one ranges then a multipart/byteranges response is generated where each body part contains a range indicated by the associated Content-Range header field.
Public class DelegatingHandler A base type for HTTP handlers that delegate the processing of HTTP response messages to another handler, called the inner handler.
Public class FormUrlEncodedContent A container for name/value tuples encoded using application/x-www-form-urlencoded MIME type.
Public class HttpClient Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.
Public class HttpClientExtensions Extension methods that aid in making formatted requests using HttpClient.
Public class HttpClientFactory Represents the factory for creating new instance of HttpClient.
Public class HttpClientHandler A base class for HTTP handler implementations.
Public class HttpClientHandlerExtensions
Public class HttpContent A base class representing an HTTP entity body and content headers.
Public class HttpContentExtensions Specifies extension methods to allow strongly typed objects to be read from HttpContent instances.
Public class HttpContentFormDataExtensions Extension methods to read HTML form URL-encoded datafrom HttpContent instances.
Public class HttpContentMessageExtensions Provides extension methods to read HttpRequestMessage and HttpResponseMessage entities from HttpContent instances.
Public class HttpContentMultipartExtensions Extension methods to read MIME multipart entities from HttpContent instances.
Public class HttpMessageContent Derived HttpContent class which can encapsulate an HttpResponseMessage or an HttpRequestMessage as an entity with media type "application/http".
Public class HttpMessageHandler A base type for HTTP message handlers.
Public class HttpMessageInvoker
Public class HttpMethod A helper class for retrieving and comparing standard HTTP methods.
Public class HttpRequestException A base class for exceptions thrown by the HttpClient and HttpMessageHandler classes.
Public class HttpRequestHeadersExtensions Provides extension methods for the HttpRequestHeaders class.
Public class HttpRequestMessage Represents a HTTP request message.
Public class HttpRequestMessageExtensions Provides extension methods for HttpRequestMessage.
Public class HttpResponseHeadersExtensions Provides extension methods for the HttpResponseHeaders class.
Public class HttpResponseMessage Represents a HTTP response message.
Public class HttpResponseMessageExtensions Represents the message extensions for the HTTP response from an ASP.NET operation.
Public class InvalidByteRangeException An exception thrown by ByteRangeStreamContent in case none of the requested ranges overlap with the current extend of the selected resource. The current extend of the resource is indicated in the ContentRange property.
Public class MessageProcessingHandler A base type for handlers which only do some small processing of request and/or response messages.
Public class MultipartContent Provides a collection of HttpContent objects that get serialized using the multipart/* content type specification.
Public class MultipartFileData Represents a multipart file data.
Public class MultipartFileStreamProvider Represents an IMultipartStreamProvider suited for writing each MIME body parts of the MIME multipart message to a file using a FileStream.
Public class MultipartFormDataContent Provides a container for content encoded using multipart/form-data MIME type.
Public class MultipartFormDataStreamProvider Represents an IMultipartStreamProvider suited for use with HTML file uploads for writing file content to a FileStream.
Public class MultipartMemoryStreamProvider Represents a multipart memory stream provider.
Public class MultipartRelatedStreamProvider Represents the provider for the multipart related multistream.
Public class MultipartStreamProvider Represents a stream provider that examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see HttpContentMultipartExtensions) and decides what kind of stream to return for the body part to be written to.
Public class ObjectContent Contains a value as well as an associated MediaTypeFormatter that will be used to serialize the value when writing this content.
Public class ObjectContent<T> Generic form of ObjectContent.
Public class OwinHttpRequestMessageExtensions Provides extension methods for the HttpRequestMessage class.
Public class PushStreamContent Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream.
Public class StreamContent Provides HTTP content based on a stream.
Public class StringContent Provides HTTP content based on a string.
Public class UnsupportedMediaTypeException Defines an exception type for signalling that a request's media type was not supported.
Public class UriExtensions Contains extension methods to allow strongly typed objects to be read from the query component of Uri instances.
  Enumeration Description
Public enumeration ClientCertificateOption
Public enumeration HttpCompletionOption Indicates if HttpClient operations should be considered completed either as soon as a response is available, or after reading the entire response message including the content.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.