Function lamedh_http::proxy_handler[][src]

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

Adapts a Handler to the lamedh_runtime::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.