async fn resolve(
state: &AppState,
target: &Target<'_>,
) -> Result<(Url, Client), ApiError>Expand description
The service’s endpoint origin, and a client pinned to it. The origin is
the one ProxyLimits keeps for the target, or else
resolve_endpoint’s; neither it nor the document is on this server.