CookieStoreMethods

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>;
}

Required Methods§

Source

fn Get(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>

Source

fn Get_( &self, cx: &mut JSContext, options: &CookieStoreGetOptions, ) -> Rc<D::Promise>

Source

fn GetAll(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>

Source

fn GetAll_( &self, cx: &mut JSContext, options: &CookieStoreGetOptions, ) -> Rc<D::Promise>

Source

fn Set( &self, cx: &mut JSContext, name: USVString, value: USVString, ) -> Rc<D::Promise>

Source

fn Set_(&self, cx: &mut JSContext, options: &CookieInit) -> Rc<D::Promise>

Source

fn Delete(&self, cx: &mut JSContext, name: USVString) -> Rc<D::Promise>

Source

fn Delete_( &self, cx: &mut JSContext, options: &CookieStoreDeleteOptions, ) -> Rc<D::Promise>

Implementors§