Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

dinesh-here/rust-light-server

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-light-server

Light web server using rust, Just like node http-server from example of rust book

Usage

rust-light-server [OPTIONS] [PATH]

[PATH] - Server path which contains html files to serve

Options

Option Description Default value
--port Port number for server to listen 7878
--gzip / -g enable gzip compression
--help / -h Displays list of options available

Example

rust-light-server --port 8089 --gzip c:\demo\webpages\

it will start the server on port 8089 and serve the files from webpages folder web url will be http://127.0.0.1:8089

About

Light web server using rust, Just like node http-server

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.