Skip to main content

fetch

Function fetch 

Source
pub fn fetch(
    url: &str,
    init: Option<RequestInit>,
) -> Result<Response, FetchError>
Expand description

Executes an HTTP or HTTPS fetch request, following standard HTTP redirects and enforcing W3C CORS rules.