Re-exports§
pub use crate::middleware::middlewares;
pub use crate::middleware::MiddleWareHandler;
pub use headers;
Modules§
- HTTP header types
Structs§
- A type map of protocol extensions.
- 处理器包装结构体 包含 请求类型: Option
请求方法: Handler 其中请求类型可为空,用来定义中间件 请求方法不可为空,用来定义处理器 处理器为返回值为 Into + From 的异步函数或者闭包函数 - The Request Method (VERB)
- The
Next
struct is used to chain multiple middlewares and endpoints together. - 请求体
- 响应体
- An HTTP status code (
status-code
in RFC 7230 et al.).
Enums§
- SilentError is the error type for the
silent
library.