System.Net.Http

.NET API Reference

Namespace: System.Net.Http

Provides classes for sending HTTP requests and receiving HTTP responses. This namespace is fundamental for building client applications that interact with web services and APIs.

Classes

  • Provides a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI.
  • Provides a base class for creating custom HTTP message handlers.
  • Represents an HTTP content entity, such as form data or a JSON payload.
  • Represents a set of values for HTTP methods (verbs).
  • Represents an HTTP request message.
  • Represents a message that includes an HTTP status code and data.
  • Represents a collection of HttpContent objects that are uploaded as part of a multipart request.
  • Represents content that is loaded from a System.IO.Stream.

Interfaces

  • Defines a contract for classes that can create and configure instances of System.Net.Http.HttpClient.

Enums