cookie
cookie: (
options?) =>Function
Defined in: http/cookie.js:37
Creates a cookie parsing middleware.
Parameters
Section titled “Parameters”options?
Section titled “options?”any
Options forwarded to the RFC 6265 cookie parser
Returns
Section titled “Returns”Function
- Ergo middleware
({headers}) => CookieJar