mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
13 lines
280 B
Plaintext
13 lines
280 B
Plaintext
section
|
|
h3(id='req.cookies') req.cookies
|
|
|
|
p.
|
|
When the <code>cookieParser()</code> middleware is used this object
|
|
defaults to <code>{}</code>, otherwise contains the cookies sent by
|
|
the user-agent.
|
|
|
|
+js.
|
|
// Cookie: name=tj
|
|
req.cookies.name
|
|
// => "tj"
|