getAll method

JSPromise<CookieList> getAll([
  1. JSAny nameOrOptions
])

@AvailableInWorkers("window_and_service")

The getAll() method of the CookieStore interface returns a list of cookies that match the name or options passed to it. Passing no parameters will return all cookies for the current context.

Implementation

external JSPromise<CookieList> getAll([JSAny nameOrOptions]);