1
0
mirror of https://github.com/actix/examples synced 2024-11-28 00:12:57 +01:00
examples/http-proxy/README.md

12 lines
325 B
Markdown
Raw Normal View History

2022-02-02 03:02:47 +01:00
## HTTP naïve proxy example
2022-03-06 01:43:10 +01:00
This is a relatively simple HTTP proxy, forwarding HTTP requests to another HTTP server, including request body, headers, and streaming uploads.
To start:
2022-03-06 01:43:10 +01:00
```shell
2022-02-02 03:02:47 +01:00
cargo run -- <listen addr> <listen port> <forward addr> <forward port>
# example:
cargo run -- 127.0.0.1 3333 127.0.0.1 8080
```