lambda-forge 0.1.7

An opinionated API Framework for building AWS Lambda HTTP endpoints.
Documentation
1
2
3
4
5
6
7
8
9
use std::fmt::Display;

pub trait EndpointAction: Display {
    /// The allowed HTTP methods for the endpoint.
    fn allowed_http_methods(&self) -> &str;

    /// The endpoint's response content type.
    fn response_content_type(&self) -> &str;
}