@beholdio/ts-lambda-api - v2.4.8
    Preparing search index...

    Class ApiResponse

    Response to aAWS Lambda HTTP request event. Used for testing.

    Index

    Constructors

    Properties

    body: string

    HTTP response body, potentially Base64 encoded.

    headers: object

    HTTP response headers as a map.

    isBase64Encoded: boolean

    Is the body property Base64 encoded?

    statusCode: number

    HTTP response code (201, 400, 500 etc.)