Function lib::create_handler [−][src]
pub fn create_handler<H>(handler: H) -> Adapter<H> where
H: Handler,
Expand description
Adapts a Handler to the netlify_lambda::run interface
This is an abstract interface that tries to deserialize the request payload
in any possible [request::LambdaRequest] value.