solettaproject / soletta

Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.
http://solettaproject.org
Apache License 2.0
225 stars 109 forks source link

http server C examples #727

Open barbieri opened 9 years ago

barbieri commented 9 years ago

Similar to #726, we should provide example for the most common http request handler (server) usages. Please base the examples on those available for other technologies, trying to be as simple as possible in comparison.

Suggested references:

Please document the src/lib/comms/include/sol-http-server.h using doxygen and take care to add examples snippets in the sol_http_server_register_handler doc. Add a wiki page with walk through, these may include snippets from the actual sources in the tree.

ceolin commented 8 years ago

Added samples and doxygen doc, snippets is still missing.