Skip to main content

send_named

Function send_named 

Source
pub async fn send_named(
    name: &str,
    rb: RequestBuilder,
) -> Result<(Value, HeaderMap)>
Expand description

Sends a call to the service name: its JSON (null when empty) and its headers. A status other than a success is an HttpError that says what the service said.