[−][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.
Examples
Hello World
ⓘThis example is not tested
fn main() { let mut app = tide::App::new(); app.at("/").get(async move |_| "Hello, world!"); http_service_lambda::run(app.into_http_service()); }
Functions
run | Run the given |