pub async fn send_request(
route: &(dyn Fn(&Url) -> Result<Route, ExecError> + Sync),
method: Method,
url: &str,
headers: GoHeaders,
body: Option<Bytes>,
timeout: Option<Duration>,
) -> Result<Upstream, ExecError>Expand description
send_routed for any method. None is Go’s nil body: no body and no
Content-Length (management api-call).