MCPcopy
hub / github.com/thinkjs/thinkjs / ThinkCookie

Interface ThinkCookie

index.d.ts:20–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 }
19
20 interface ThinkCookie {
21 /**
22 * get cookie
23 */
24 cookie(name: string): string;
25
26 /**
27 * set cookie
28 */
29 cookie(name: string, value: string, options?: object): void;
30 /**
31 *
32 * delete cookie
33 */
34 cookie(name: string, value: null, options?: object): void;
35 }
36 interface ThinkConfig {
37 /**
38 * get config

Callers 3

cookieFunction · 0.80
controller.jsFile · 0.80
context.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected