sameSite Property Optional
Specifies the SameSite
policy for the cookie, which controls how cookies are sent with
cross-site requests
API
sameSite?: 'strict' | 'lax';
Example
import {cookiePart} from '@bitfiber/rx';
const now = new Date();
const token = cookiePart('token');
token.set({
value: 'token-hash',
sameSite: 'strict',
});