astro-cookies-multi.ts — astro Source File
Architecture documentation for astro-cookies-multi.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR e1747c1c_cfa5_6ee4_29c7_4573ae993552["astro-cookies-multi.ts"] f16d8c76_2866_6150_bd14_0347b59abfe9["astro"] e1747c1c_cfa5_6ee4_29c7_4573ae993552 --> f16d8c76_2866_6150_bd14_0347b59abfe9 style e1747c1c_cfa5_6ee4_29c7_4573ae993552 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { APIContext } from 'astro';
export async function GET({ request, cookies }: APIContext) {
const headers = new Headers();
headers.append('content-type', 'text/plain;charset=utf-8');
cookies.set('from1', 'astro1');
cookies.set('from2', 'astro2');
return new Response('hello world', { headers });
}
Domain
Subdomains
Functions
Dependencies
- astro
Source
Frequently Asked Questions
What does astro-cookies-multi.ts do?
astro-cookies-multi.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RenderingEngine subdomain.
What functions are defined in astro-cookies-multi.ts?
astro-cookies-multi.ts defines 1 function(s): GET.
What does astro-cookies-multi.ts depend on?
astro-cookies-multi.ts imports 1 module(s): astro.
Where is astro-cookies-multi.ts in the architecture?
astro-cookies-multi.ts is located at packages/integrations/node/test/fixtures/headers/src/pages/endpoints/astro-cookies-multi.ts (domain: CoreAstro, subdomain: RenderingEngine, directory: packages/integrations/node/test/fixtures/headers/src/pages/endpoints).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free