Share via


http_client_config::set_timeout Method

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

See Also

Reference

http_client_config Class