Skip to main content

send_request_raw

Function send_request_raw 

Source
pub async fn send_request_raw(
    route: &(dyn Fn(&Url) -> Result<Route, ExecError> + Sync),
    method: Method,
    url: &str,
    headers: GoHeaders,
    body: Option<Bytes>,
    timeout: Option<Duration>,
) -> Result<RawUpstream, SendError>
Expand description

send_request without error sanitising, for callers that report Go’s own error text (the plugin host’s host.http.*).