parseCookies
このコンテンツはまだ日本語訳がありません。
parseCookies(
header):Readonly<Record<string,string>>
Defined in: src/http/cookies.ts:45
Parse a request Cookie header into a name→value map. First
occurrence of a name wins (RFC 6265 §5.4 ordering); malformed pairs are
skipped, never thrown; values are best-effort %XX-decoded (kept raw on
failure) with one layer of surrounding double quotes stripped. At most
MAX_COOKIE_PAIRS pairs are accepted.
Parameters
Section titled “Parameters”header
Section titled “header”string | undefined
Returns
Section titled “Returns”Readonly<Record<string, string>>
