Skip to content

UnkushB/Simple-Http-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Simple HTTP Server

Simple single header static file server written in C++ for unix systems. Supports GET and HEAD requests and keep-alive.

Usage

int main(){
  set_mount_point("C:/files"); //set_mount_point("/some_path")
  add_resource("/", "/homepage", "text/html");
  start_server("127.0.0.1", 8080, 4); //start_server("ip", port_number, thread_count)
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages