Jean

Using Easy::setOpt is not as convenient as it should be.

Now we have

std::string address = "http://example.com";
// Setting the URL to retrive.
request.setOpt(new cURLpp::Options::Url(address));

Could we do better?

std::string url = "http://example.com";
// Setting the URL to retrive.
request.set<url>(address);

Regards
Piotr Dobrogost
 
_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to