import { type Protocol } from "https://deno.land/x/sinco@v4.1.0/deps.ts";
const { CookieParam } = Protocol.Network;
Cookie parameter object
Properties
The request-URI to associate with the setting of the cookie. This value can affect the default domain, path, source port, and source scheme values of the created cookie.
optional
sameSite: CookieSameSiteCookie SameSite type.
optional
expires: TimeSinceEpochCookie expiration date, session cookie if not set
optional
priority: CookiePriorityCookie Priority.
optional
sourceScheme: CookieSourceSchemeCookie source scheme type.
optional
sourcePort: integerCookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port. An unspecified port value allows protocol clients to emulate legacy cookie scope for the port. This is a temporary ability and it will be removed in the future.