Compare commits
2 Commits
695f9639ef
...
d5a6f79918
Author | SHA1 | Date | |
---|---|---|---|
d5a6f79918 | |||
|
dbbf9c3cca |
@ -405,6 +405,7 @@ pub async fn call<'a, T: Connect + Clone + Send + Sync + 'static>(
|
|||||||
Ok(downstream_response.map(|body| body.map_err(std::io::Error::other).boxed_unsync()))
|
Ok(downstream_response.map(|body| body.map_err(std::io::Error::other).boxed_unsync()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[derive(Debug, Clone)]
|
||||||
pub struct ReverseProxy<T: Connect + Clone + Send + Sync + 'static> {
|
pub struct ReverseProxy<T: Connect + Clone + Send + Sync + 'static> {
|
||||||
client: Client<T, Incoming>,
|
client: Client<T, Incoming>,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user