<PackageReference Include="Microsoft.AspNet.WebApi.Client" Version="4.0.20505" />

System.Net.Http

Namespace with 15 public types

Classes

 HttpMessageContent Derived class which can encapsulate an or an as an entity with media type "application/http".
 MultipartFileStreamProvider An suited for writing each MIME body parts of the MIME multipart message to a file using a .
 MultipartFormDataStreamProvider An suited for use with HTML file uploads for writing file content to a . The stream provider looks at the <b>Content-Disposition</b> header field and determines an output 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 , otherwise it is written to a . This makes it convenient to process MIME Multipart HTML Form data which is a combination of form data and file content.
 ObjectContent Derived class that contains a strongly typed object.
 ObjectContent`1 Generic form of .

Static Classes

 HttpClientExtensions
 HttpContentCollectionExtensions Extension methods to provide convenience methods for finding items within a <see cref="T:System.Collections.Generic.IEnumerable`1" /> collection.
 HttpContentExtensions Extension methods to allow strongly typed objects to be read from instances.
 HttpContentMessageExtensions Extension methods to read and entities from instances.
 HttpContentMultipartExtensions Extension methods to read MIME multipart entities from instances.
 HttpRequestHeadersExtensions
 HttpRequestMessageExtensions Extension methods for .
 HttpResponseHeadersExtensions
 UriExtensions Extension methods to allow strongly typed objects to be read from the query component of instances.

Interfaces

 IMultipartStreamProvider An implementation examines the headers provided by the MIME multipart parser as part of the MIME multipart extension methods (see ) and decides what kind of stream to return for the body part to be written to.