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

Method cookies

packages/platform/node/src/NodeHttpClient.ts:232–238  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

230
231 cachedCookies?: Cookies.Cookies
232 get cookies(): Cookies.Cookies {
233 if (this.cachedCookies !== undefined) {
234 return this.cachedCookies
235 }
236 const header = this.source.headers["set-cookie"]
237 return this.cachedCookies = header ? Cookies.fromSetCookie(header) : Cookies.empty
238 }
239
240 get remoteAddress(): Option.Option<string> {
241 return Option.none()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected