getCookiesFromResponse() — astro Function Reference
Architecture documentation for the getCookiesFromResponse() function in response.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f29a1b6b_05f9_acd0_2838_fcc848ae0d92["getCookiesFromResponse()"] 3653cb97_bec2_605a_a150_36f4fb60e6f3["response.ts"] f29a1b6b_05f9_acd0_2838_fcc848ae0d92 -->|defined in| 3653cb97_bec2_605a_a150_36f4fb60e6f3 67e10eec_7d33_e849_f7ef_6c1a71d0e9f8["getSetCookiesFromResponse()"] 67e10eec_7d33_e849_f7ef_6c1a71d0e9f8 -->|calls| f29a1b6b_05f9_acd0_2838_fcc848ae0d92 style f29a1b6b_05f9_acd0_2838_fcc848ae0d92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/cookies/response.ts lines 9–16
export function getCookiesFromResponse(response: Response): AstroCookies | undefined {
let cookies = Reflect.get(response, astroCookiesSymbol);
if (cookies != null) {
return cookies as AstroCookies;
} else {
return undefined;
}
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getCookiesFromResponse() do?
getCookiesFromResponse() is a function in the astro codebase, defined in packages/astro/src/core/cookies/response.ts.
Where is getCookiesFromResponse() defined?
getCookiesFromResponse() is defined in packages/astro/src/core/cookies/response.ts at line 9.
What calls getCookiesFromResponse()?
getCookiesFromResponse() is called by 1 function(s): getSetCookiesFromResponse.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free