Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs: fix notation for optional keys argument

closes #55
  • Loading branch information...
commit a551e50592a09decb91c6d0218e9064d821f9582 1 parent 9a181e8
@ArtskydJ ArtskydJ authored dougwilson committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.md
View
2  README.md
@@ -26,7 +26,7 @@ Cookies is a [node.js](http://nodejs.org/) module for getting and setting HTTP(S
## API
-### cookies = new Cookies( request, response, keys )
+### cookies = new Cookies( request, response, [ keys ] )
This creates a cookie jar corresponding to the current _request_ and _response_. A [Keygrip](https://www.npmjs.com/package/keygrip) object or an array of keys can optionally be passed as the third argument _keygrip_ to enable cryptographic signing based on SHA1 HMAC, using rotated credentials.
Please sign in to comment.
Something went wrong with that request. Please try again.