Function ehttp::fetch[][src]

pub fn fetch(
    request: Request,
    on_done: impl 'static + Send + FnOnce(Result<Response, Error>)
)
Expand description

Performs a HTTP requests and calls the given callback when done.