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

New Post: http_client missing method?

$
0
0
is it possible for http_client to get assigned a different URI after declaration?

It appears the only way to declare this class is through either the constructor or through std::move from another http_client.
http_client original(m_uri);
http_client new_client = std::move(original);
it seems that for RESTful service request going to different URI is very common and declaring a new http_client each time seems to be a waste.

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>