A timeout specification to cut short slow HTTP queries.
More...
"http://httpbin.org/anything"s,
Timeout{3s},
if (resp.error.code == +ErrorCode::TIMEDOUT)
std::cout << "Timed out !\n";
}
);
The documentation for this class was generated from the following file:
constexpr make_handler_t< on_response_ > on_response
Continuation callback ( i.e. signature : void callback(xxhr::Response)) for the asynchronous HTTP ope...
Definition: handler.hpp:39