hyperlane-core 22.14.1

A lightweight, high-performance, and cross-platform Rust HTTP server library built on Tokio. It simplifies modern web service development by providing built-in support for middleware, WebSocket, Server-Sent Events (SSE), and raw TCP communication. With a unified and ergonomic API across Windows, Linux, and MacOS, it enables developers to build robust, scalable, and event-driven network applications with minimal overhead and maximum flexibility.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use super::*;

/// Extracted HTTP/2 framing metadata produced while populating a framework [`Request`] in one pass.
#[derive(Debug)]
pub(crate) struct H2PreparedRequest {
    /// Validated `content-length` header value when declared by the peer.
    pub(crate) declared_content_length: Option<usize>,
    /// Whether the request carries an unparameterized `expect: 100-continue` token.
    pub(crate) expect_continue: bool,
    /// Deferred non-framing head validation error checked after body framing completes.
    pub(crate) deferred_error: Option<RequestError>,
}