Possible values for the SameSite cookie as described in the Same-site Cookies Draft.
0 The browser will send cookies with both cross-site requests and same-site requests.
The None directive requires the secure attribute to be true to mitigate risks associated with cross-site access.
1 Prevents the cookie from being sent by the browser in all cross-site browsing contexts.
2 Allows the cookie to be sent by the browser during top-level navigations that use a safe HTTP method.
Returns true if this enum value equals Lax
Returns true if this enum value equals None
Returns true if this enum value equals Strict
Enum
Enum
Enum
Enum
Comparable(Enum)
Value
Object
Object
Object
© 2012–2026 Manas Technology Solutions.
Licensed under the Apache License, Version 2.0.
https://crystal-lang.org/api/1.19.0/HTTP/Cookie/SameSite.html