Skip to main content

Module dispatch

Module dispatch 

Source
Expand description

API Gateway v2 handler trait and operation dispatch.

Uses manual Pin<Box<dyn Future>> return types because ApiGatewayV2Handler requires object safety for dynamic dispatch (Arc<dyn ApiGatewayV2Handler>).

Structs§

NotImplementedHandler
Default handler that returns a “not implemented” error for all operations.

Traits§

ApiGatewayV2Handler
The boundary between HTTP and business logic for API Gateway v2.

Functions§

dispatch_operation
Dispatch an API Gateway v2 operation to the handler.