pub async fn run_with_streaming_response<'a, S, B, E>(
    handler: S
) -> Result<(), Error>
where S: Service<Request, Response = Response<B>, Error = E>, S::Future: Send + 'a, E: Debug + Display, B: Body + Unpin + Send + 'static, B::Data: Into<Bytes> + Send, B::Error: Into<Error> + Send + Debug,
Expand description

Starts the Lambda Rust runtime and stream response back Configure Lambda Streaming Response.

This takes care of transforming the LambdaEvent into a Request and accepts http::Response<http_body::Body> as response.