mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
24 lines
541 B
Plaintext
24 lines
541 B
Plaintext
{
|
|
"CookieSerializeOptions": {
|
|
"encode": "fn(val: string)",
|
|
"path": "string",
|
|
"expires": "Date",
|
|
"maxAge": "number",
|
|
"domain": "string",
|
|
"secure": "bool",
|
|
"httpOnly": "bool"
|
|
},
|
|
"CookieParseOptions": {
|
|
"decode": "fn(val: string)"
|
|
},
|
|
"CookieStatic": {
|
|
"serialize": "fn(name: string, val: string, options?: CookieSerializeOptions) -> string",
|
|
"parse": "fn(str: string, options?: CookieParseOptions) -> ret"
|
|
},
|
|
"cookie": "cookie",
|
|
"!name": "cookie.d.ts",
|
|
"!define": {
|
|
"ret": {}
|
|
}
|
|
}
|