pub trait AsyncCanisterHttpQuery<E: Debug> {
// Required method
fn http_query<'life0, 'async_trait>(
&'life0 self,
request: Vec<u8>,
) -> Pin<Box<dyn Future<Output = Result<Vec<u8>, E>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Trait providing the ability to perform an async HTTP request to a canister.