Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 http://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