Commit 58506b60 authored by Tiago Medicci's avatar Tiago Medicci

Added example function to documentation

parent 7b736437
Simple HTTP server
------------------
#Simple HTTP server
This is a very minimal HTTP server I use in some of the projects.
Absolutely not ready for any kind of production use.
How to use
----------
#How to use
Really, please see above note.
This directory is an ESP-IDF component. Clone it (or add it as a submodule) into the component directory of the project.
Documentation
-------------
#Documentation
None yet, but I tried to make the comments in the header file helpful.
Example
-------
#Examples
Examples functions at http server
## GET Method Example
`simple_GET_method_example()` function:
None yet.
* Add http_server.c and http_server.h as a component into your project.
* Server initialization added into the example function, simply call it and it should work!
* Receiving a GET request at /, http server response is a "Hello World, from ESP32!" html.
Debugging
---------
#Debugging
Increasing log level to "Verbose" should produce lots of output related to request handling.
License
-------
#License
GPL, see [LICENSE](LICENSE) file. Mostly because this is a very early version. Will be relicensed as something more reasonable later.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment