[][src]Crate http_service_lambda

HttpService server that uses AWS Lambda Rust Runtime as backend.

This crate builds on the standard http interface provided by the lambda_http crate and provides a http server that runs on the lambda runtime.

Compatible services like tide apps can run on lambda and processing events from API Gateway or ALB without much change.


Hello World

This example is not tested
fn main() {
    let mut app = tide::App::new();
    app.at("/").get(async move |_| "Hello, world!");



Run the given HttpService on the default runtime, using lambda_http as backend.