Add #[derive(Debug, Clone)]
to ReverseProxy.
This commit is contained in:
parent
2ec415ecac
commit
dbbf9c3cca
@ -380,6 +380,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()))
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct ReverseProxy<T: Connect + Clone + Send + Sync + 'static> {
|
||||
client: Client<T, Incoming>,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user