#proxy-server #server-framework #web-server #http-proxy #server #web-framework #websocket-server

salvo-proxy

HTTP proxy support for the Salvo web server framework. Provides flexible proxy middleware for forwarding requests to upstream servers.

86 releases (38 breaking)

Uses new Rust 2024

0.77.0 Mar 5, 2025
0.76.1 Jan 24, 2025
0.75.0 Dec 30, 2024
0.74.2 Nov 11, 2024
0.0.1 Oct 10, 2022

#401 in WebSocket

Download history 20767/week @ 2024-11-21 17644/week @ 2024-11-28 17528/week @ 2024-12-05 23469/week @ 2024-12-12 24842/week @ 2024-12-19 16101/week @ 2024-12-26 16010/week @ 2025-01-02 23572/week @ 2025-01-09 22920/week @ 2025-01-16 15411/week @ 2025-01-23 19915/week @ 2025-01-30 19710/week @ 2025-02-06 31487/week @ 2025-02-13 39599/week @ 2025-02-20 47396/week @ 2025-02-27 31620/week @ 2025-03-06

153,902 downloads per month
Used in 3 crates (via salvo)

MIT/Apache

720KB
16K SLoC

Salvo is an extremely simple and powerful Rust web backend framework. Only basic Rust knowledge is required to develop backend services.

salvo-proxy

Proxy middleware for Salvo

This crate provides proxy capabilities for the Salvo web framework, allowing you to forward requests to upstream servers. It's useful for creating API gateways, load balancers, and reverse proxies.

Features

  • Support for HTTP and HTTPS proxying
  • Multiple upstream server selection strategies
  • WebSocket connection support
  • Header manipulation
  • Path and query rewriting
  • Multiple HTTP client backends (Hyper, Reqwest)

Usage

This is an official crate, so you can enable it in Cargo.toml like this:

salvo = { version = "*", features = ["proxy"] }

Docs

☕ Donate

Salvo is an open source project. If you want to support Salvo, you can ☕ buy me a coffee here.

⚠️ License

Salvo is licensed under either of

Dependencies

~20–37MB
~695K SLoC