Skip to content

yanyiwu/husky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status


Husky

Introduction

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.

Feature

  • Only Headers file: what you need to do is include it.
  • No dependence: No dependence, No hurts. (Epoll is native support for linux.)

Example

configure & compile

mkdir build;
cd build
cmake ..
make

start server

./husky.demo --port 11257

GET Request Example

curl "http://127.0.0.1:11257/?hello=world&myname=aszxqw"

POST Request Example

curl -d "hello world, my name is aszxqw." "http://127.0.0.1:11257"

husky.demo

Its source code is test/demo.cpp. Its code has only 30+ lines.

Reference

limonp

Contact

[email protected]

About

simple http service framework

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •