Expand description
Base type and trait for HTTP server.
Re-exports§
pub use error::*;
Modules§
- endpoint
- HTTP endpoint abstraction for request handling.
- error
- Error types used in skyzen.
- header
- HTTP header types
- method
- The HTTP request method
- middleware
- Middleware functionality for HTTP request and response processing.
- uri
- URI component of request and response lines
- version
- HTTP version
Structs§
- Body
- Flexible HTTP body that can represent data in various forms.
- Extensions
- A type map of protocol extensions.
- Method
- The Request Method (VERB)
- Status
Code - An HTTP status code (
status-codein RFC 9110 et al.). - Uri
- The URI component of a request.
- Version
- Represents a version of the HTTP spec.
Enums§
- Body
Error - Error type for body operations.
Traits§
- Endpoint
- A trait for types that can handle HTTP requests and generate responses.
- Extractor
- Extract a object from request,always is the header,body value,etc.
- Middleware
- Trait for implementing middleware that can process HTTP requests and responses.
- Responder
- Transform a object into a part of HTTP response,always is response body,header,etc.
- Result
Ext - Extension trait for adding status codes to Results.
- Server
- Abstraction over HTTP server backends.