[go: up one dir, main page]

Function ehttp::fetch_async

source ·
pub async fn fetch_async(request: Request) -> Result<Response>
Expand description

Performs an async HTTP request.

Returns Err if we fail to make a request. Returns Ok if we get a response, even if it’s a 404.

Available on following platforms:

  • web
  • native behind the native-async feature.