MCPcopy Create free account
hub / github.com/6dylan6/jdm / setCookie

Method setCookie

function/common.js:53–55  ·  view source on GitHub ↗
(cookie)

Source from the content-addressed store, hash-verified

51 this.options = params;
52 }
53 setCookie(cookie) {
54 this.options.headers.cookie = cookie
55 }
56 jsonParse(str) {
57 try {
58 return JSON.parse(str);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected