I'm looking for a C++ library that implements or enables the implementation of a HTTP client. It should handle cookies as well.
What would you propose?
I'm looking for a C++ library that implements or enables the implementation of a HTTP client. It should handle cookies as well.
What would you propose?
Take a look at Poco Libraries.
I started using them as they are portable and it's a joy to work with. Simple and clean - though I haven't dived in anything fancy for the moment.
All alternative library are available here, if you need complex http APIs, try curl, if just wanna get a file, try http-tiny
http://curl.haxx.se/libcurl/competitors.html
You can try WinInet
http://msdn.microsoft.com/en-us/library/aa385331(VS.85).aspx
In contrast to WinHTTP, it's more client-side oriented.
C++ (STL) does not have a HTTP or network library by default, you will have to do with something else.
libcurl should do what you want. cURL++ is the same libcurl wrapped in a shiny C++ wrapper.
If it's for windows, take a look at Windows HTTP Services (WinHTTP)
http://msdn.microsoft.com/en-us/library/aa384273(VS.85).aspx
For Cookies http://msdn.microsoft.com/en-us/library/aa383261(VS.85).aspx