Re: [Cppcms-users] HTTP Client with CppCMS
Brought to you by:
artyom-beilis
From: Neel B. <nee...@gm...> - 2015-10-09 11:50:28
|
Well this is an executable redirecting *some* requests to some other components and performing some other computation. Actually this not really a reverse proxy component. It is serving as a rest server which interacts with LibVirt, however it keeps some other components acknowledged through their REST services. But this is not the only case, there may be many more examples where a CppCMS application may need to act as a REST client e.g. OAuth or Weather service etc. What I was thinking of is, if there already exist a request and response class along with a io_service loop why can't with reuse then to create a REST client ? On Fri, Oct 9, 2015 at 3:18 PM, mawan sugiyanto <ma...@gm...> wrote: > is this library ? > > https://github.com/mrtazz/restclient-cpp > > > On Fri, Oct 9, 2015 at 4:07 PM, Neel Basu <nee...@gm...> wrote: > >> I am trying to proxy some http requests to another server. So I need an >> HTTP client class. I was trying to use cppcms::http::context` but for that >> I need connection which is in `impl`. But I hope it should not be hard to >> have an HTTP Client. >> >> So is there any way out ? or I need to use other libraries like curl for >> making http client separately ? >> >> Thank You. >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |