Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected Readonly_Protected ReadonlynameThe cookie instance name.
Protected OptionaloptionsThe cookie options.
Protectedclear_Copies an item from the cookies to a target object. Optionally you can specify the keys of the item that you want to copy, if you don't specify any key the whole item will be copied.
Optionalkeys: (keyof T)[]Optionaloptions: CopyOptionsProtectedcopy_Retrieves an item from the cookies.
Optionaloptions: GetOptionsProtectedget_Returns the name of the instance.
Returns the options for the cookie.
Returns the separator used to separate the cookie name from the cookie item key.
Checks if an item exists in the cookies. Optionally you can specify the keys of the item that you want to check, if you don't specify any key the whole item will be checked.
Optionalkeys: (keyof T)[]Optionaloptions: HasOptionsProtectedhas_Removes an item from the cookies. Optionally you can specify the keys of the item that you want to remove, if you don't specify any key the whole item will be removed.
Optionalkeys: (keyof T)[]Optionaloptions: RemoveOptionsProtectedremove_Sets an item in the cookies. Optionally you can specify the keys of the item that you want to set, if you don't specify any key the whole item will be set.
Optionalkeys: (keyof T)[]Optionaloptions: SetOptionsProtectedset_Protectedset__
The SyncCookie class is an abstraction to implement any synchronous cookie API in an uniform way.
Aracna Reference