Skip to content

errorcode4319/HTTP-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTP-Server

c++ Based HTTP-Server

Environment

  • Linux (amd64, arm)

Dependencies

  • gcc (>=7, c++17)
  • make
  • cmake (>=3.1)

Usage

Build

git clone https://github.com/errorcode4319/HTTP-Server.git
cd HTTP-Server
cd build
cmake..
make -j4 
./http-server

Commands

> help
# Show commands description.
> run    
# start http service
> stop
# stop http service
> state
# show http service info
> restart
# restart http service 
> reload
# auto reload static html pages
# Not supported yet (2021-11-27)
> quit
# exit application 

Add static html page


Add http handler callback


About

C++ Based HTTP Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published