This is a maintenance fork of libuhttpd
 
 
 
Go to file
Jianhui Zhao fe2a2f46c9 Update README
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
2017-11-09 13:29:10 +08:00
cmake/Modules The basic framework is implemented 2017-11-09 12:54:28 +08:00
example The basic framework is implemented 2017-11-09 12:54:28 +08:00
src The basic framework is implemented 2017-11-09 12:54:28 +08:00
.gitignore Initial commit 2017-11-04 17:30:20 +08:00
CMakeLists.txt The basic framework is implemented 2017-11-09 12:54:28 +08:00
LICENSE Initial commit 2017-11-04 17:30:20 +08:00
README.md Update README 2017-11-09 13:29:10 +08:00

README.md

libuhttp

A very tiny and fast HTTP library based on libev and http-parser for Embedded Linux.

How To Compile on Ubuntu

Install dependency Tools and Libraries

sudo apt install cmake libev-dev libhttp-parser-dev

Compile libuhttp

git clone https://github.com/zhaojh329/libuhttp.git
cd libuhttp
mkdir build
cd build
cmake ../
make && sudo make install

Test

$ ./example/helloworld

Then use the command curl or browser to access http://127.0.0.1:8000/test