MCPcopy
hub / github.com/socketio/socket.io / appendCookies

Method appendCookies

packages/engine.io-client/lib/globals.node.ts:108–112  ·  view source on GitHub ↗
(headers: Headers)

Source from the content-addressed store, hash-verified

106 }
107
108 public appendCookies(headers: Headers) {
109 for (const [name, cookie] of this.cookies) {
110 headers.append("cookie", `${name}=${cookie.value}`);
111 }
112 }
113}

Callers 2

_fetchMethod · 0.80
itMethod · 0.80

Calls

no outgoing calls

Tested by 1

itMethod · 0.64