Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 41875476e0
Fetching contributors…

Cannot retrieve contributors at this time

12 lines (9 sloc) 0.363 kb
section
h3(id='cookieParser') cookieParser()
p.
Parses the Cookie header field and populates <code>req.cookies</code>
with an object keyed by the cookie names. Optionally you may enabled
signed cookie support by passing a <code>secret</code> string.
+js.
app.use(express.cookieParser());
app.use(express.cookieParser('some secret'));
Jump to Line
Something went wrong with that request. Please try again.