class OreoCookie
A object with all information of a saved cookie.
Constructor ( cookie_str : string )
Parameters
cookie_str
String - A valid HTTP cookie-string. Like when you save a cookie in browsers withdocument.cookie = "my-new-cookie"
;
Example
var cookie = new oreo.cookieClass( "my-cookie=my-value; samesite=Lax; other-property=other-value" ) ;
Properties
size
Number - Cookie size in bytes.expired
Boolean - To check if cookie is already expired (dev).key
String - Key of the cookie.value
Any - Formatted value of the cookie.