Self Hosting Web Service

May 26, 2014 at 2:48 PM
Hello,

I'm trying to do a web service in C++. I want it able to do http web service, and maybe TCP web service.
Do you think that Casablanca is a good solution?
If yes could you give me some sample/tutorial please? I haven't found something interesting
And, if not which technology could you advice me?

Thanks by advance
Coordinator
May 27, 2014 at 7:46 PM
Hi Celes,

Casablanca doesn't contain any support at this time for TCP.

For an http service we provide a library solution. If you haven’t already take a look at our http_listener documentation page, it shows how to create a listener and respond to requests. For a fuller example take a look at the CasaLens sample in our git repository, specifically in casalens.cpp. This is a command line http server.

Steve
May 27, 2014 at 8:02 PM
Thanks Steve.

Sorry to make you repeat.

With some reflexion i don't really need TCP connection now (and during a lot of years i think), so i will use this pretty baby that is Casablanca ^^

Thanks to the staff, which have made it !