interface CookieStore
implements EventTarget
Re-export
import { type CookieStore } from "https://deno.land/x/shed@v0.1.0-pre.10/encrypted-cookie-store.ts";
A verbatim TypeScript translation of the interfaces defined in the WICG Cookie Store API working draft.
Methods
get(name?: string): Promise<CookieListItem | null>
get(options?: CookieStoreGetOptions): Promise<CookieListItem | null>
getAll(name?: string): Promise<CookieList>
getAll(options?: CookieStoreGetOptions): Promise<CookieList>
set(options: CookieInit): Promise<void>
delete(options: CookieStoreDeleteOptions): Promise<void>