pub trait RequestMethods {
Show 19 methods
// Required methods
fn Method(&self) -> ByteString;
fn Url(&self) -> USVString;
fn Headers(&self) -> Root<Dom<Headers>>;
fn Destination(&self) -> RequestDestination;
fn Referrer(&self) -> USVString;
fn ReferrerPolicy(&self) -> ReferrerPolicy;
fn Mode(&self) -> RequestMode;
fn Credentials(&self) -> RequestCredentials;
fn Cache(&self) -> RequestCache;
fn Redirect(&self) -> RequestRedirect;
fn Integrity(&self) -> DOMString;
fn Clone(&self) -> Result<Root<Dom<Request>>, Error>;
fn BodyUsed(&self) -> bool;
fn GetBody(&self, cx: SafeJSContext) -> Option<NonNull<JSObject>>;
fn ArrayBuffer(&self) -> Rc<Promise>;
fn Blob(&self) -> Rc<Promise>;
fn FormData(&self) -> Rc<Promise>;
fn Json(&self) -> Rc<Promise>;
fn Text(&self) -> Rc<Promise>;
}