c++ - Is it possible to alter the HTTP client timeout period (cpp-netlib)? -
i'm using cpp-netlib (v0.11.0) send http requests.
i'd know if it's possible alter timeout period when sending http post request.
i'm running unit tests, 1 of sends http request address there no server running. attempt pull information response times-out after 90s error "operation timed out".
when constructor client
class invoked, can pass options class can set timeout in. see the docs client class constructors (and scroll down bit) more specific information.
Comments
Post a Comment