Skip to content

Gabriel-Jeronimo/rust-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust HTTP server

A simple HTTP server implemented in Rust that serves HTML files located within the www folder.

Instructions

Pre-requisites

  • Rust (stable)
  • Cargo

Installation

To run this HTTP server, follow the steps:

  1. Clone the repository.
git clone https://github.com/Gabriel-Jeronimo/rust-http-server.git
  1. Navigate to the project directory.
cd rust-http-server
  1. Build and run the server
cargo run

Usage

You can use cURL, Postman or other tool to make the HTTP requests.

curl -i localhost:8080/

About

Just a toy server to learn how rust deal with connections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors