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.
pub fn fetch(
url: &str,
init: Option<RequestInit>,
) -> Result<Response, FetchError>Executes an HTTP or HTTPS fetch request, following standard HTTP redirects and enforcing W3C CORS rules.