HuaweiApiGatewayResponse
@h4ad/serverless-adapter > HuaweiApiGatewayResponse
(interface) HuaweiApiGatewayResponse
The interface that represents the Api Gateway Response of Huawei when integrate with Function Graph of Event Type. See more in Reference .
Signature:
export interface HuaweiApiGatewayResponse
(property) body
The body value with the content of this response serialized in JSON
Signature:
body: string;
(property) headers
The headers sent with this response
Signature:
headers: MultiValueHeaders;
(property) isBase64Encoded
Tells if the body was encoded as base64
Signature:
isBase64Encoded: boolean;
(property) statusCode
The HTTP Status code of this response
Signature:
statusCode: number;