Home / Function/ constructor() — astro Function Reference

constructor() — astro Function Reference

Architecture documentation for the constructor() function in cookies.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  776f5473_5d08_95ed_8839_358320840af7["constructor()"]
  28935751_f2b1_4797_d41a_fc616c40e0a8["AstroCookies"]
  776f5473_5d08_95ed_8839_358320840af7 -->|defined in| 28935751_f2b1_4797_d41a_fc616c40e0a8
  a92f219d_7eb4_76a2_efa0_ba02f05284dc["constructor()"]
  a92f219d_7eb4_76a2_efa0_ba02f05284dc -->|calls| 776f5473_5d08_95ed_8839_358320840af7
  a92f219d_7eb4_76a2_efa0_ba02f05284dc["constructor()"]
  776f5473_5d08_95ed_8839_358320840af7 -->|calls| a92f219d_7eb4_76a2_efa0_ba02f05284dc
  style 776f5473_5d08_95ed_8839_358320840af7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/cookies/cookies.ts lines 71–76

	constructor(request: Request) {
		this.#request = request;
		this.#requestValues = null;
		this.#outgoing = null;
		this.#consumed = false;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does constructor() do?
constructor() is a function in the astro codebase, defined in packages/astro/src/core/cookies/cookies.ts.
Where is constructor() defined?
constructor() is defined in packages/astro/src/core/cookies/cookies.ts at line 71.
What does constructor() call?
constructor() calls 1 function(s): constructor.
What calls constructor()?
constructor() is called by 1 function(s): constructor.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free