I'm using curlpp in an application and need to get the URL I was redirected to. Apparently there are two ways: track the Location
headers (ugly) or use curlpp::InfoGetter
(the c++ counterpart of curl_easy_getinfo()
).
But how do I use curlpp::InfoGetter
? I cant't find any examples. Does anyone have a short snippet?