cpprestsdk icon indicating copy to clipboard operation
cpprestsdk copied to clipboard

How to get client config timeout http_client_config::set_timeout() in Server side

Open laoshanxi opened this issue 3 years ago • 0 comments

Client could set http timeout, how to get this value in server side?

m_listener->support(methods::GET, std::bind(&RestHandler::handle_get, this, std::placeholders::_1));

in the function RestHandler::handle_get(...), is that possible to get the timeout seconds?

Regards

laoshanxi avatar Jan 17 '22 02:01 laoshanxi