[][src]Function netlify_lambda_http::proxy_handler

pub fn proxy_handler<H: Handler>(handler: H) -> ProxyAdapter<H>

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.