Preparing search index...
The search index is not available
@just4/cookie
@just4/cookie
interfaces
ICookieGetterOptions
InterfaceICookieGetterOptions
获取 cookie 的选项
interface
ICookieGetterOptions
{
decode
?:
(
(
content
:
string
)
=>
string
)
;
encode
?:
(
(
content
:
string
|
number
|
boolean
)
=>
string
)
;
}
Index
Properties
decode?
encode?
Properties
Optional
decode
decode
?:
(
(
content
:
string
)
=>
string
)
Cookie 名和值的解码方式,默认为 decodeURIComponent。
Optional
encode
encode
?:
(
(
content
:
string
|
number
|
boolean
)
=>
string
)
Cookie 名的编码方式,默认为 encodeURIComponent。
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
decode
encode
@just4/cookie
Loading...
获取 cookie 的选项