Set the timeout
void set_timeout(
utility::seconds timeout
);
Parameters
- timeout
The timeout (in seconds) used for each send and receive operation on the client.
Requirements
Header: http_client.h
Namespace: web::http::client
Set the timeout
void set_timeout(
utility::seconds timeout
);
Header: http_client.h
Namespace: web::http::client