Expand description
Core traits and types for Jokoway API Gateway
This crate provides the fundamental traits that extension developers need to implement to create middlewares and extensions for Jokoway.
Modules§
Structs§
- AppContext
- Global application context, shared across all requests.
- Request
Context - Per-request context for sharing state between middlewares within a single request lifecycle.
Traits§
- Context
- Shared interface for type-safe, heterogeneous key-value storage.
- Jokoway
Extension - Extension trait for adding custom functionality to Jokoway
- Jokoway
Middleware - Middleware trait for processing requests and responses.
- Jokoway
Middleware Dyn - Dynamic dispatch version of JokowayMiddleware for trait objects