Trait CookieStoreMethods
Source pub trait CookieStoreMethods<D: DomTypes> {
// Required methods
fn Get(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>;
fn Get_(
&self,
cx: &mut JSContext,
options: &CookieStoreGetOptions,
) -> Rc<D::Promise>;
fn GetAll(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>;
fn GetAll_(
&self,
cx: &mut JSContext,
options: &CookieStoreGetOptions,
) -> Rc<D::Promise>;
fn Set(
&self,
cx: &mut JSContext,
name: USVString,
value: USVString,
) -> Rc<D::Promise>;
fn Set_(&self, cx: &mut JSContext, options: &CookieInit) -> Rc<D::Promise>;
fn Delete(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>;
fn Delete_(
&self,
cx: &mut JSContext,
options: &CookieStoreDeleteOptions,
) -> Rc<D::Promise>;
}