package js
Available on jsstatic all ():StringMap<String>Returns all cookies.
static exists (name:String):BoolReturns true if a cookie name exists.
static get (name:String):Null<String>Returns value of a cookie.
static remove (name:String, ?path:String, ?domain:String):VoidRemove a cookie.
static set (name:String, value:String, ?expireDelay:Int, ?path:String, ?domain:String):VoidCreate or update a cookie.
Parameters:
expireDelay |
In seconds. If null, the cookie expires at end of session. |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/Cookie.html