Skip to Content

domain Property Optional

Specifies the domain for which the cookie is valid

API

domain?: string;

Example

import {cookiePart} from '@bitfiber/rx'; const token = cookiePart('token'); token.set({ value: 'token-hash', domain: '.example.com', });
Last updated on