-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add stringify method to mirror parse #214
base: master
Are you sure you want to change the base?
Conversation
I think it would help if we had more documentation on this, maybe a description for the PR to clarify? The code looks like the goal is to take the output from |
Yes. |
Sorry, to which question? |
Yes to all of them. |
@@ -169,7 +169,7 @@ export interface StringifyOptions { | |||
} | |||
|
|||
/** | |||
* Stringify a set of cookies into a `Cookie` header string. | |||
* Stringifies an object into a HTTP `Cookie` header. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Stringifies an object into a HTTP `Cookie` header. | |
* Stringifies an object into an HTTP `Cookie` header. |
Part of the work from #200, adding methods that mirror the existing methods so someone can easily understand
parse
/stringify
and (in another PR)serialize
/deserialize
.