Reputation: 33589
I would also like to have an opportunity to add/modify HTTP GET headers, but basically I just need to download a page with given URL.
P. S. The only reason I'm searching for an alternative to libcurl is it doesn't give me the kind of download speeds I need.
Upvotes: 2
Views: 3772
Reputation: 14011
Poco C++ has a HTTPClient class that is fairly easy to use. Here is their Networking tutorial. Poco C++ is also cross platform.
Here are some boost like recommendations from SO.
EDIT : If you haven't looked at Qt, they have a QNetworkRequest class. Seems a bit lower level than the Poco client, but might suit your needs. Here is an example using it.
Upvotes: 5
Reputation: 126827
To add to the other answers, if you target only Windows you can use the the urlmon functions (included in Windows), like URLDownloadToFile or URLOpenBlockingStream.
Upvotes: 2