Crate silent

Crate silent 

Source

Re-exports§

pub use crate::middleware::MiddleWareHandler;
pub use crate::middleware::middlewares;
pub use crate::protocol::Protocol;
pub use headers;

Modules§

extractor
header
HTTP header types
middleware
prelude
protocol

Structs§

Configs
A type map of protocol extensions.
HandlerWrapper
处理器包装结构体 包含 请求类型: Option 请求方法: Handler 其中请求类型可为空,用来定义中间件 请求方法不可为空,用来定义处理器 处理器为返回值为 Into + From的异步函数或者闭包函数
Listeners
ListenersBuilder
Method
The Request Method (VERB)
Next
The Next struct is used to chain multiple middlewares and endpoints together.
Request
请求体
Response
响应体
Server
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).

Enums§

Listener
SilentError
SilentError is the error type for the silent library.
SocketAddr

Traits§

Connection
ConnectionService
Handler
Listen

Type Aliases§

AcceptFuture
BoxError
BoxedConnection
ConnectionFuture
Result