Skip to main content


Deno standard library
Go to Latest
variable CookieMap

(will be removed after 0.210.0) Import from instead.

Provides a way to manage cookies in a request and response on the server as a single iterable collection.

The methods and properties align to Map. When constructing a Request or Headers from the request need to be provided, as well as optionally the Response or Headers for the response can be provided. Alternatively the mergeHeaders function can be used to generate a final set of headers for sending in the response.

import { CookieMap } from "";