Crate salvo_proxy
source ·Expand description
Proxy support for Savlo web server framework.
Read more: https://salvo.rs
Structs§
- HyperClient
hyper-client
AClient
implementation based onhyper_util::client::legacy::Client
. - Handler that can proxy request to other server.
- ReqwestClient
reqwest-client
AClient
implementation based onreqwest::Client
.
Traits§
- Client trait.
- Upstreams trait.
Functions§
- Default url path getter. This getter will get the url path from request wildcard param, like
<**rest>
,<*+rest>
. - Default url query getter. This getter just return the query string from request uri.
Type Aliases§
- Url part getter. You can use this to get the proxied url path or query.