Function: getMergedRenderedCookies() โ
getMergedRenderedCookies(
cookieSpec
,options
?):Promise
<string
>
Defined in: src/core/cookies/getMergedRenderedCookies.ts:26
Retrieves and renders cookies in a merged format
Parameters โ
cookieSpec โ
The cookie specification to query
domain โ
string
= CookieDomainSchema
name โ
string
= CookieNameSchema
options? โ
Omit
<{ format
: "merged"
| "grouped"
; separator
: string
; showFilePaths
: boolean
; }, "format"
>
Optional rendering options
Returns โ
Promise
<string
>
Promise resolving to rendered cookie string
Example โ
typescript
const cookieString = await getMergedRenderedCookies(
{ name: 'session', domain: 'example.com' },
{ separator: '; ' }
);
console.log(cookieString); // "session=abc123; auth=xyz789"