Client progress polling with CPPRestSDK
<p>I have a task which takes a while to execute, and I would like to launch it and broadcast its progress through a Rest request <a href="http://restful-api-design.readthedocs.io/en/latest/methods.html#asynchronous-requests" rel="nofollow noreferrer">as described here</a>. I've set up a listener with Client progress polling with CPPRestSDK , but I can't figure out a way of doing this?</p>

<p>I've seen <a href="https://microsoft.github.io/cpprestsdk/classweb_1_1http_1_1http__request.html#aecb8ba4c46ba84f8135e8e95103c3cea" rel="nofollow noreferrer">web::http::http_request::set_progress_handler</a> but I can only see a way to use that if I set up a websocket to push the progress to the client. But I would prefer to monitor progress from the client using polling. A solution <a href="https://stackoverflow.com/questions/1626799/approach-for-rest-request-with-long-execution-time#_=_">is explained here</a> but I can't see how I could implement that with this lib.</p>