Skip to content

Commit

Permalink
refactor: prefer signed/unsigned to encode/decode
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Aug 27, 2024
1 parent 8a7005c commit 0f7c8f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ export interface Options {
/**
* `otterhttp` cookie 'unsign' function, will be used to unsign session cookies.
*
* You must ensure that encoded session cookies are not matched by your `otterhttp` `App`'s configured
* `signedCookieMatcher`. Otherwise, `otterhttp` will attempt to decode session cookies using the `App`'s configured
* You must ensure that signed session cookies are not matched by your `otterhttp` `App`'s configured
* `signedCookieMatcher`. Otherwise, `otterhttp` will attempt to unsign session cookies using the `App`'s configured
* `cookieUnsigner` instead, and unsigning with this function will not be attempted.
* @default undefined
*/
Expand Down

0 comments on commit 0f7c8f6

Please sign in to comment.