ExpressGuardResponse
Defined in: express/src/adapters.ts:30
Implements
Section titled “Implements”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ExpressGuardResponse(
statusCode,content):ExpressGuardResponse
Defined in: express/src/adapters.ts:34
Parameters
Section titled “Parameters”statusCode
Section titled “statusCode”number
content
Section titled “content”string
Returns
Section titled “Returns”ExpressGuardResponse
Properties
Section titled “Properties”statusCode
Section titled “statusCode”
readonlystatusCode:number
Defined in: express/src/adapters.ts:35
Implementation of
Section titled “Implementation of”Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get body():
Uint8Array<ArrayBufferLike> |null
Defined in: express/src/adapters.ts:44
Returns
Section titled “Returns”Uint8Array<ArrayBufferLike> | null
Implementation of
Section titled “Implementation of”bodyText
Section titled “bodyText”Get Signature
Section titled “Get Signature”get bodyText():
string|null
Defined in: express/src/adapters.ts:45
Returns
Section titled “Returns”string | null
Implementation of
Section titled “Implementation of”headers
Section titled “headers”Get Signature
Section titled “Get Signature”get headers():
Record<string,string>
Defined in: express/src/adapters.ts:42
Returns
Section titled “Returns”Record<string, string>
Implementation of
Section titled “Implementation of”Methods
Section titled “Methods”setHeader()
Section titled “setHeader()”setHeader(
name,value):void
Defined in: express/src/adapters.ts:43
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void