Skip to Content

secure Property Optional

Indicates whether the cookie should only be sent over secure protocols like HTTPS

API

secure?: boolean;

Example

import {cookiePart} from '@bitfiber/rx'; const now = new Date(); const token = cookiePart('token'); token.set({ value: 'token-hash', secure: true, });
Last updated on