node-webserver
Preparing search index...
Cookies
Class Cookies
Index
Constructors
constructor
Methods
delete
get
get
All
set
Constructors
constructor
new
Cookies
(
request
:
Request
,
setCookieHeader
:
(
serialized
:
string
)
=>
void
,
)
:
Cookies
Parameters
request
:
Request
setCookieHeader
:
(
serialized
:
string
)
=>
void
Returns
Cookies
Methods
delete
delete
(
name
:
string
,
opts
:
StringifyOptions
&
Omit
<
SetCookie
,
"name"
|
"value"
>
&
{
path
:
string
;
}
,
)
:
void
Parameters
name
:
string
opts
:
StringifyOptions
&
Omit
<
SetCookie
,
"name"
|
"value"
>
&
{
path
:
string
}
Returns
void
get
get
(
name
:
string
,
opts
?:
ParseOptions
)
:
string
|
undefined
Parameters
name
:
string
Optional
opts
:
ParseOptions
Returns
string
|
undefined
get
All
getAll
(
opts
?:
ParseOptions
)
:
{
name
:
string
;
value
:
string
}
[]
Parameters
Optional
opts
:
ParseOptions
Returns
{
name
:
string
;
value
:
string
}
[]
set
set
(
name
:
string
,
value
:
string
,
opts
:
StringifyOptions
&
Omit
<
SetCookie
,
"name"
|
"value"
>
&
{
path
:
string
;
}
,
)
:
void
Parameters
name
:
string
value
:
string
opts
:
StringifyOptions
&
Omit
<
SetCookie
,
"name"
|
"value"
>
&
{
path
:
string
}
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
delete
get
get
All
set
node-webserver
Loading...