MCPcopy
hub / github.com/thinkjs/thinkjs / cookie

Function cookie

lib/extend/controller.js:185–187  ·  view source on GitHub ↗

* get or set cookies * @param {String} name * @param {String} value * @param {Object} options

(name, value, options)

Source from the content-addressed store, hash-verified

183 * @param {Object} options
184 */
185 cookie(name, value, options) {
186 return this.ctx.cookie(name, value, options);
187 },
188 /**
189 * get or set header
190 * @param {String} name

Callers

nothing calls this directly

Calls 1

cookieMethod · 0.80

Tested by

no test coverage detected