Skip to main content

process_with_json_response

Function process_with_json_response 

Source
pub async fn process_with_json_response<T: DeserializeOwned>(
    request: RequestBuilder,
) -> Result<T, Error>
Expand description

Sends and processes a request expecting a JSON response, deserializing it into the type T.