Skip to content

About

a http proxy server using the tokio.rs stack along with the hyper and axum crates

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Proxy Server using Tokio.rs, Hyper & Axum

HTTP proxy server using the Tokio.rs stack along with the Hyper and Axum crates. It involves handling incoming HTTP requests and processing them such as tracing, authorizing, logging, measuring, and monitoring, and then proxying them to a target server.

Getting started

cargo run

Once the server is up and running, send a test request to it using the curl command below:

curl -X POST \
  '127.0.0.1:3000' \
  -H 'content-type: application/json' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -d '{"test":"test"}'

The command sends a POST request to the local server, which then proxies the request to the specified endpoint https://echo.hoppscotch.io/ and returns the response.

Resources

About

a http proxy server using the tokio.rs stack along with the hyper and axum crates

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages