Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 363 Bytes
h3(id='cookieParser') cookieParser()
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.
app.use(express.cookieParser('some secret'));
Jump to Line
Something went wrong with that request. Please try again.