Reference

cookies

Parses request cookies into a small read-only helper. Values are decoded with `decodeURIComponent`; malformed encoded values are ignored rather than throwing during request handling.

Signature

function cookies(request: Request): RequestCookies