Creates a server that exposes a Lambda as an HTTP service
The file the defines the Lambda
The port the service should listen on
Prints out verbose information about requests and responses
Use the named function as opposed to the default ("handler")
Starts the LambdaServer listening on the port specified in the constructor.
Called once the server has started successfully
Stops the lambda service
Callback when all sockets related to the LambdaServer have been cleaned up
Generated using TypeDoc
The LambdaServer wraps a Node.js Lambda routine in a simple HTTP service.
It makes it easy to test Lambdas locally, and in conjunction with our other tools.
To use it, simply provide the filename of the Lambda function along with the port the HTTP server should listen on.