Skip to main content

HttpTransport

Trait HttpTransport 

Source
pub trait HttpTransport {
    // Required method
    fn get(&self, fetch: &Fetch) -> Result<HttpResponse, TransportFailure>;
}
Expand description

Synchronous driver for Rust hosts. wasm drives the steps itself with async fetch.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§