Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: Can I handle streams with http_client?

$
0
0
Hi Daemonolog,

Exception authentication issues aside I assume what you are referring to is getting the HTTP response body through a stream as the chunks come across the network. Yes this is possible with the C++ Rest SDK. The task returned from http_client::request is signaled once all the HTTP headers have arrived. You can then call http_response::body() to get access to the underlying stream for the response body. I believe this should be what you are looking for.

Steve

Viewing all articles
Browse latest Browse all 4845

Trending Articles