Take a look at the reference documentation for http_listener_config.
http://microsoft.github.io/cpprestsdk/classweb_1_1http_1_1experimental_1_1listener_1_1http__listener__config.html
You can specify a timeout using
Sincerely,
roschuma
http://microsoft.github.io/cpprestsdk/classweb_1_1http_1_1experimental_1_1listener_1_1http__listener__config.html
You can specify a timeout using
.set_timeout()
and pass this config into the listener's constructor.Sincerely,
roschuma