Husky is a Simple HTTP Server Frame Based on Epoll.
It is just a simple server, not forcussing on performance, but it is very easy to use. That is what it born to be.
- Only Headers file: what you need to do is
include
it. - No dependence: No dependence, No hurts. (Epoll is native support for linux.)
mkdir build;
cd build
cmake ..
make
./husky.demo --port 11257
curl "http://127.0.0.1:11257/?hello=world&myname=aszxqw"
curl -d "hello world, my name is aszxqw." "http://127.0.0.1:11257"
Its source code is test/demo.cpp
. Its code has only 30+ lines.