#[cfg(feature = "http-client-pool")]
pub mod client_pool;
#[cfg(feature = "http-cookie")]
mod cookie;
mod generic_header;
mod generic_request;
mod generic_response;
mod header_name;
mod headers;
mod http_client;
mod http_error;
mod http_recv_params;
mod method;
mod mime;
mod misc;
mod operation_mode;
#[cfg(feature = "nightly")]
mod optioned_server;
mod protocol;
mod req_res_buffer;
mod req_res_builder;
mod req_res_data;
mod request;
mod response;
#[cfg(feature = "http-server-framework")]
pub mod server_framework;
#[cfg(feature = "http-session")]
mod session;
mod status_code;
pub(crate) mod u31;
mod version;
pub mod web_authn;
#[cfg(feature = "http-cookie")]
pub use cookie::*;
pub use generic_header::GenericHeader;
pub use generic_request::GenericRequest;
pub use generic_response::GenericResponse;
pub use header_name::*;
pub use headers::{Header, Headers, Trailers};
pub use http_client::HttpClient;
pub use http_error::HttpError;
pub use http_recv_params::HttpRecvParams;
pub use method::Method;
pub use mime::Mime;
pub use misc::*;
pub use operation_mode::*;
#[cfg(feature = "nightly")]
pub use optioned_server::OptionedServer;
pub use protocol::Protocol;
pub use req_res_buffer::ReqResBuffer;
pub use req_res_builder::*;
pub use req_res_data::{ReqResData, ReqResDataMut};
pub use request::Request;
pub use response::Response;
#[cfg(feature = "http-session")]
pub use session::*;
pub use status_code::StatusCode;
pub use version::Version;
pub const MAX_HEADER_NAME_LEN: usize = 48;
pub const MAX_HEADER_VALUE_LEN: usize = 1024 * 3;
pub const WTX_USER_AGENT: &str = concat!("wtx/", env!("CARGO_PKG_VERSION"));
pub(crate) const DEFAULT_INITIAL_WINDOW_LEN: u32 = 64 * 1024 - 1;
pub(crate) const DEFAULT_MAX_CONCURRENT_STREAMS_NUM: u32 = 32;
pub(crate) const DEFAULT_MAX_FRAME_LEN: u32 = 16 * 1024;
pub(crate) const DEFAULT_MAX_HEADERS_LEN: u32 = 4 * 1024;
pub(crate) const DEFAULT_MAX_HPACK_LEN: u32 = 4 * 1024;
pub(crate) const MAX_FRAME_LEN_LOWER_BOUND: u32 = 16 * 1024;
pub(crate) const MAX_FRAME_LEN_UPPER_BOUND: u32 = 16 * 1024 * 1024 - 1;
pub(crate) type _HeaderNameBuffer = crate::collection::ArrayVectorU8<u8, MAX_HEADER_NAME_LEN>;
pub(crate) type _HeaderValueBuffer = crate::collection::ArrayVectorU16<u8, MAX_HEADER_VALUE_LEN>;