API Reference
    Preparing search index...
    • Converts a handler response to a Web API Response object. Handles APIGatewayProxyResult, Response objects, and plain objects.

      Parameters

      • response: HandlerResponse

        The handler response (APIGatewayProxyResult, Response, or plain object)

      • OptionalresHeaders: Headers

        Optional headers to be included in the response

      Returns Response

      A Web API Response object