Function lamedh_http::handler[][src]

pub fn handler<H: Handler>(handler: H) -> Adapter<H>

Adapts a Handler to the lamedh_runtime::run interface

This is an abstract interface that tries to deserialize the request payload in any possible [request::LambdaRequest] value.