supertokens-node
Preparing search index...
framework/custom
CollectingResponse
Class CollectingResponse
Hierarchy (
View Summary
)
BaseResponse
CollectingResponse
Index
Constructors
constructor
Properties
body?
cookies
headers
original
status
Code
wrapper
Used
Methods
remove
Header
sendHTMLResponse
sendJSONResponse
set
Cookie
set
Header
set
Status
Code
Constructors
constructor
new
CollectingResponse
()
:
CollectingResponse
Returns
CollectingResponse
Properties
Optional
body
body
?:
string
Readonly
cookies
cookies
:
CookieInfo
[]
Readonly
headers
headers
:
Headers
original
original
:
any
status
Code
statusCode
:
number
wrapper
Used
wrapperUsed
:
boolean
Methods
remove
Header
removeHeader
(
key
:
string
)
:
void
Parameters
key
:
string
Returns
void
sendHTMLResponse
sendHTMLResponse
(
html
:
string
)
:
void
Parameters
html
:
string
Returns
void
sendJSONResponse
sendJSONResponse
(
content
:
any
)
:
void
Parameters
content
:
any
Returns
void
set
Cookie
setCookie
(
key
:
string
,
value
:
string
,
domain
:
undefined
|
string
,
secure
:
boolean
,
httpOnly
:
boolean
,
expires
:
number
,
path
:
string
,
sameSite
:
"strict"
|
"lax"
|
"none"
,
)
:
void
Parameters
key
:
string
value
:
string
domain
:
undefined
|
string
secure
:
boolean
httpOnly
:
boolean
expires
:
number
path
:
string
sameSite
:
"strict"
|
"lax"
|
"none"
Returns
void
set
Header
setHeader
(
key
:
string
,
value
:
string
,
allowDuplicateKey
:
boolean
)
:
void
Parameters
key
:
string
value
:
string
allowDuplicateKey
:
boolean
Returns
void
set
Status
Code
setStatusCode
(
statusCode
:
number
)
:
void
Parameters
statusCode
:
number
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
body
cookies
headers
original
status
Code
wrapper
Used
Methods
remove
Header
sendHTMLResponse
sendJSONResponse
set
Cookie
set
Header
set
Status
Code
supertokens-node
Loading...