Oslo

Cookie.serialize()

Serializes cookie for Set-Cookie header.

function serialize(): string;

Example

response.headers.set("Set-Cookie", cookie.serialize());