rama-net 0.4.0

rama network types and utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Http server utility types and services.
//!
//! - [`HttpPeekRouter`] allows you to detect http/1x and h2 traffic. H3 traffic
//!   is not covered by this router as this is done via sidechannel information instead (e.g. ALPN in TLS).

pub mod peek;
pub use peek::{
    DEFAULT_HTTP_PEEK_READ_BUFFER_SIZE, DEFAULT_HTTP1_REQUEST_LINE_MAX_SIZE, HttpPeekConfig,
    HttpPeekRouter, HttpPeekVersion, HttpPrefixedIo, KNOWN_NON_HTTP_PROTOCOL_METHODS,
    NoHttpRejectError, peek_http_input, peek_http_input_with_config,
    peek_http_input_with_timeout_policy,
};