Crate lambda_lw_http_router_core

Crate lambda_lw_http_router_core 

Source
Expand description

Core functionality for the lambda-lw-http-router crate.

Note: This is an implementation crate for lambda-lw-http-router and is not meant to be used directly. Please use the main crate instead.

The functionality in this crate is re-exported by the main crate, and using it directly may lead to version conflicts or other issues. Additionally, this crate’s API is not guaranteed to be stable between minor versions.

§Usage

Instead of using this crate directly, use the main crate:

[dependencies]
lambda-lw-http-router = "0.1"

See the lambda-lw-http-router documentation for more information on how to use the router.

Re-exports§

pub use ctor;

Structs§

RouteContext
Context passed to route handlers containing request information and application state.
Router
The main router type that handles HTTP requests and dispatches them to handlers.
RouterBuilder
A builder for constructing routers with a fluent API.

Traits§

RoutableHttpEvent
A trait for HTTP events that can be routed by the router.

Functions§

register_route

Attribute Macros§

ctor_attribute