get_bytes

Function get_bytes 

Source
pub async fn get_bytes<U>(uri: U) -> Result<IpcBytes, Error>
where U: TryInto<Uri>, Error: From<<U as TryInto<Uri>>::Error>,
Expand description

Send a GET request to the uri and read the response as raw bytes.

The http_client is used to send the request.