Sha256: 89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2
Contents?: true
Size: 635 Bytes
Versions: 29
Compression:
Stored size: 635 Bytes
Contents
/// <reference types="node" /> import type { Headers } from './fetch' export interface Cookie { name: string value: string expires?: Date | number maxAge?: number domain?: string path?: string secure?: boolean httpOnly?: boolean sameSite?: 'Strict' | 'Lax' | 'None' unparsed?: string[] } export function deleteCookie ( headers: Headers, name: string, attributes?: { name?: string, domain?: string } ): void export function getCookies (headers: Headers): Record<string, string> export function getSetCookies (headers: Headers): Cookie[] export function setCookie (headers: Headers, cookie: Cookie): void
Version data entries
29 entries across 29 versions & 3 rubygems