MCPcopy Create free account
hub / github.com/Effect-TS/effect / cookies

Method cookies

packages/platform/deno/src/DenoHttpServer.ts:360–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

358
359 private cachedCookies: Record.ReadonlyRecord<string, string> | undefined
360 get cookies() {
361 return this.cachedCookies ??= Cookies.parseHeader(this.headers.cookie ?? "")
362 }
363
364 get stream(): Stream.Stream<Uint8Array, Error.HttpServerError> {
365 return this.source.body

Callers

nothing calls this directly

Calls 1

parseHeaderMethod · 0.80

Tested by

no test coverage detected