Skip to content

A very simple web server implemented in the rust programming language

License

Notifications You must be signed in to change notification settings

Jason2605/simple-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-http

A very simple threaded web server implemented in the rust programming language.

Installing and running simple-http

$ git clone https://github.com/Jason2605/simple-http.git
$ cd simple-http
$ cargo run

simple-http has 3 optional arguments:

  • -p Set the port to bind too (default 8080)
  • -tp The amount of threads to spawn into the thread pool (default 4)
  • -wd The working directory to read the web files from (default html)

simple-http will allow for a file to be directly found, by this i mean http://127.0.0.1:8080/index.html will work, however you can define routes here and allow the extension to be dropped.

About

A very simple web server implemented in the rust programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages