pub fn proxy_handler<H: Handler>(handler: H) -> ProxyAdapter<H>
Expand description
Adapts a Handler
to the netlify_lambda::run
interface
This is a concrete interface that tries to deserialize the request payload into an AWS API Gateway Proxy definition. This definition is the same that the AWS Invoke API uses to send invocation requests to lambda.