http_client Class
HTTP client class, used to maintain a connection to an HTTP service for an extended session.
Warning
This topic contains information for the C++ REST SDK 1.0 (codename "Casablanca"). If you are using a later version from the Codeplex Casablanca web page, then use the local documentation at https://casablanca.codeplex.com/documentation.
class http_client;
Members
Public Constructors
Name |
Description |
---|---|
Overloaded. Creates a new http_client connected to specified uri. |
|
Note the destructor doesn't necessarily close the connection and release resources. The connection is reference counted with the http_responses. |
Public Methods
Name |
Description |
---|---|
Overloaded. Add an HTTP pipeline stage to the client. |
|
Get client configuration object |
|
Overloaded. Asynchronously sends an HTTP request. |
Requirements
Header: http_client.h, http_msg.h
Namespace: web::http::client