1 | #![allow(unused_imports)] |
---|---|
2 | #![allow(clippy::all)] |
3 | use wasm_bindgen::prelude::*; |
4 | #[wasm_bindgen] |
5 | #[doc= "The `RequestMode` enum."] |
6 | #[doc= ""] |
7 | #[doc= "*This API requires the following crate features to be activated: `RequestMode`*"] |
8 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
9 | pub enum RequestMode { |
10 | SameOrigin = "same-origin", |
11 | NoCors = "no-cors", |
12 | Cors = "cors", |
13 | Navigate = "navigate", |
14 | } |
15 |