Share via


System.Net.Http Namespace

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

Classes

  Class Description
Public class ByteRangeStreamContent
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 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 HttpRequestHeadersExtensions Provides extension methods for the HttpRequestHeaders class.
Public class HttpRequestMessageExtensions Provides extension methods for HttpRequestMessage.
Public class HttpResponseHeadersExtensions Provides extension methods for the HttpResponseHeaders class.
Public class HttpResponseMessageExtensions Represents the message extensions for the HTTP response from an ASP.NET operation.
Public class InvalidByteRangeException
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 MultipartFormDataStreamProvider An IMultipartStreamProvider suited for use with HTML file uploads for writing file content to a FileStream. The stream provider looks at the <b>Content-Disposition</b> header field and determines an output Stream based on the presence of a <b>filename</b> parameter. If a <b>filename</b> parameter is present in the <b>Content-Disposition</b> header field then the body part is written to a FileStream, otherwise it is written to a MemoryStream. This makes it convenient to process MIME Multipart HTML Form data which is a combination of form data and file content.
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 PushStreamContent Enables scenarios where a data producer wants to write directly (either synchronously or asynchronously) using a stream.
Public class UriExtensions Contains extension methods to allow strongly typed objects to be read from the query component of Uri instances.