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
153,902 downloads per month
Used in 3 crates
(via salvo)
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"] }
☕ 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
-
Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0).
-
MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT).
Dependencies
~20–37MB
~695K SLoC