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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -