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
S
Description
This is a maintenance fork of libuhttpd
Readme
607 KiB
0 Stars 1 Watchers 0 Forks
Languages
C 94%
CMake 5.9%
Shell 0.1%