Skip to main content

handle

Function handle 

Source
pub async fn handle(req: Request) -> Result<Response<Body>, Error>
Expand description

Handle a single Lambda invocation request.

Request conversion failures are mapped to rivet responses:

  • unsupported methods => 501
  • body limit exceeded => 413