WsCookie
Overview
The representation of a http cookie.
Properties Summarized
Type | Name | Summary |
---|---|---|
Cookie comment. | ||
Cookie domain. | ||
Cookie httpOnly flag. | ||
Cookie maxAge. | ||
Cookie name. | ||
Cookie path. | ||
Cookie secure flag. | ||
Cookie value. | ||
Cookie version. |
Properties Detailed
comment
Cookie comment. Specifies a comment that describes a cookie's purpose.
Type String
Sample
domain
Cookie domain. Specifies the domain within which this cookie should be presented.
Type String
Sample
httpOnly
Cookie httpOnly flag. Marks or unmarks this Cookie as HttpOnly
Type Boolean
Sample
maxAge
Cookie maxAge. Sets the maximum age in seconds for this Cookie.
Type Number
Sample
name
Cookie name.
The cookie name allows only a sequence of non-special, non-white space characters, see the cookie spec https://tools.ietf.org/html/rfc2965
Type String
Sample
path
Cookie path. Specifies a path for the cookie to which the client should return the cookie.
Type String
Sample
secure
Cookie secure flag. Indicates to the browser whether the cookie should only be sent using a secure protocol, such as HTTPS or SSL.
Type Boolean
Sample
value
Cookie value.
The cookie value allows only a sequence of non-special, non-white space characters, see the cookie spec https://tools.ietf.org/html/rfc2965
Type String
Sample
version
Cookie version. Sets the version of the cookie protocol that this Cookie complies with.
Type Number
Sample
Last updated