Skip to main content

CookieStoreMethods

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

Required Methods§

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Implementors§