Static methods

staticall():StringMap<String>

Returns all cookies.

staticexists(name:String):Bool

Returns true if a cookie name exists.

staticget(name:String):Null<String>

Returns value of a cookie.

staticremove(name:String, ?path:String, ?domain:String):Void

Remove a cookie.

@:has_untypedstaticset(name:String, value:String, ?expireDelay:Int, ?path:String, ?domain:String):Void

Create or update a cookie.

Parameters:

expireDelay

In seconds. If null, the cookie expires at end of session.