Search
Preparing search index...
The search index is not available
supertokens-node
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
supertokens-node
framework/custom
CollectingResponse
Class CollectingResponse
Hierarchy
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
Collecting
Response
(
)
:
CollectingResponse
Returns
CollectingResponse
Properties
Optional
body
body
?:
string
Readonly
cookies
cookies
:
CookieInfo
[]
Readonly
headers
headers
:
Headers
original
original
:
any
status
Code
status
Code
:
number
wrapper
Used
wrapper
Used
:
boolean
Methods
remove
Header
remove
Header
(
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
set
Cookie
(
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
set
Header
(
key
:
string
, value
:
string
, allowDuplicateKey
:
boolean
)
:
void
Parameters
key:
string
value:
string
allowDuplicateKey:
boolean
Returns
void
set
Status
Code
set
Status
Code
(
statusCode
:
number
)
:
void
Parameters
statusCode:
number
Returns
void
Modules
framework
framework/aws
Lambda
framework/custom
framework/express
framework/fastify
framework/hapi
framework/koa
framework/loopback
index
ingredients/emaildelivery
ingredients/smsdelivery
recipe/accountlinking
recipe/dashboard
recipe/emailpassword
recipe/emailverification
recipe/jwt
recipe/multifactorauth
recipe/multitenancy
recipe/openid
recipe/passwordless
recipe/session
recipe/thirdparty
recipe/totp
recipe/usermetadata
recipe/userroles
Collecting
Response
constructor
body
cookies
headers
original
status
Code
wrapper
Used
remove
Header
sendHTMLResponse
sendJSONResponse
set
Cookie
set
Header
set
Status
Code
Generated using
TypeDoc