2016-10-14 22:54:04 +11:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Cookie Object
 
							 
						 
					
						
							
								
									
										
										
										
											2016-10-13 14:38:06 +11:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-11-16 05:13:18 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `name`  string - The name of the cookie.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `value`  string - The value of the cookie.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `domain`  string (optional) - The domain of the cookie; this will be normalized with a preceding dot so that it's also valid for subdomains.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `hostOnly`  boolean (optional) - Whether the cookie is a host-only cookie; this will only be `true`  if no domain was passed.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `path`  string (optional) - The path of the cookie.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `secure`  boolean (optional) - Whether the cookie is marked as secure.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `httpOnly`  boolean (optional) - Whether the cookie is marked as HTTP only.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								*  `session`  boolean (optional) - Whether the cookie is a session cookie or a persistent
							 
						 
					
						
							
								
									
										
										
										
											2016-10-14 22:54:04 +11:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								  cookie with an expiration date.
							 
						 
					
						
							
								
									
										
										
										
											2016-12-29 14:11:26 -08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `expirationDate`  Double (optional) - The expiration date of the cookie as
							 
						 
					
						
							
								
									
										
										
										
											2016-10-14 22:54:04 +11:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								  the number of seconds since the UNIX epoch. Not provided for session
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								  cookies.
							 
						 
					
						
							
								
									
										
										
										
											2021-11-16 05:13:18 +01:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								*  `sameSite`  string - The [Same Site ](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#SameSite_cookies ) policy applied to this cookie.  Can be `unspecified` , `no_restriction` , `lax`  or `strict` .