Closed CorentinDoue closed 3 years ago
This pull request follows https://github.com/serverless/serverless-google-cloudfunctions/pull/258 and adds the implementation of the command invoke local for HTTP events from the google provider.
Cloud functions triggered by HTTP use express 4.17.1.
req
res
end
cc @pgrzesik
Description
This pull request follows https://github.com/serverless/serverless-google-cloudfunctions/pull/258 and adds the implementation of the command invoke local for HTTP events from the google provider.
Implementation
Cloud functions triggered by HTTP use express 4.17.1.
req
andres
are recreated as they are provided by express to the handler in the cloudend
method ofres
is overridden by a custom method toend
(send back the response to the client)Tests
Next steps