Add #[derive(Debug, Clone)] to ReverseProxy.

This commit is contained in:
Stefan Sundin 2024-05-19 11:17:16 -07:00
parent 2ec415ecac
commit dbbf9c3cca

View File

@ -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>,
}