Skip to content

Commit

Permalink
Update lib/cookie/cookie.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Colin Casey <[email protected]>
  • Loading branch information
wjhsf and colincasey authored Mar 14, 2024
1 parent d21c0da commit c303233
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cookie/cookie.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ type ParseCookieOptions = {

/**
* Parses a string into a Cookie object.
* @param str Cookie string to parse
* @param str the Set-Cookie header or a Cookie string to parse. Note: when parsing a Cookie header it must be split by ';' before each Cookie string can be parsed.
* @param options configures strict or loose mode for cookie parsing
* @returns `Cookie` object for valid string inputs, `undefined` for invalid string inputs,
* or `null` for non-string inputs or empty string
*/
Expand Down

0 comments on commit c303233

Please sign in to comment.