icookie.md 1.1 KB


id: icookie title: ICookie

sidebar_label: ICookie

HTTP Cookie interface

Methods

Method GetName:String()

Gets the cookie name.


Method GetValue:String()

Gets the cookie value.


Method GetVersion:Int()

Gets the cookie version.


Method GetComment:String()

Gets the 'Comment' attribute value.


Method GetDomain:String()

Gets the 'Domain' attribute value.


Method GetPath:String()

Gets the 'Path' attribute value.


Method GetMaxAge:Long()

Gets the 'Max-Age' attribute value.


Method GetSameSite:String()

Gets the 'SameSite' attribute value.


Method GetExpires:Long()

Gets the 'Expires' attribute value.


Method IsPartitioned:Int()

Returns whether the 'Partitioned' attribute is set.


Method IsHttpOnly:Int()

Returns whether the 'HttpOnly' attribute is set.


Method IsSecure:Int()

Returns whether the 'Secure' attribute is set.


Method IsExpired:Int()

Returns whether the cookie has expired.