CookieStorage Class
Managing cookie-storage
Constructor
Item Index
Methods
_requestJSON
(
private
-
method
-
path
-
[body]
Performs a context dependent JSON request for the current session. The result is parsed for errors.
Returns:
:
clear
()
Delete all cookies visible to the current page.
getCookie
(
Cookie | Undefined
-
name
Retrieve a specific cookie by name that is visible to the current page.
Parameters:
-
name
String
Returns:
Cookie | Undefined:
getCookies
()
Array.Retrieve all cookies visible to the current page.
Returns:
Array. :
getKeys
()
Array.Retrieve all cookie names visible to the current page.
Returns:
Array. :