Re: [Cppcms-users] Web Service session management
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-01-30 10:55:46
|
> From: Leon <le...@wl...> > > Hi, > > So cookie is the only answer. The only correct answer :-) > Do you have any suggestion for C++ HTTP client side library > which provides the following features: > > 1. Cookies. > 2. Keep-Alive. > 3. Asynchronous. > > Thanks. > Actually it depends on what kind of asynchronous event loop you are using. Some libraries are asynchronus and event loop independent like libcurl that does all you need. Some rely on their own event loop Yes, there are plenty: libcurl, MIT license, supports all to mentioned: http://curl.haxx.se/docs/features.html POCO toolkit has HTTPClient with cookies support (not tested on my own), Boost License. http://pocoproject.org The answer really depends on what do you looking for. There is Boost.Networking library but it does not provide decent cookies support - i.e. you need to set headers manually. The event loop is based on Boost.Asio So what do you need? Artyom Beilis ------------- Support CppCMS by donating money: https://sourceforge.net/donate/index.php?group_id=209965 |