Skip to main content

http_constant/
lib.rs

1//! http-constant
2//! A comprehensive library providing common HTTP constants for
3//! header names, versions, MIME types, and protocol identifiers.
4
5mod body;
6mod common;
7mod content_type_value;
8mod file_extension;
9mod header_key;
10mod header_value;
11mod http2;
12mod http_status;
13mod http_version;
14mod method;
15mod path;
16mod protocol;
17mod query;
18mod session;
19
20pub use {
21    body::*, common::*, content_type_value::*, file_extension::*, header_key::*, header_value::*,
22    http_status::*, http_version::*, http2::*, method::*, path::*, protocol::*, query::*,
23    session::*,
24};
25
26use std::{
27    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6},
28    time::Duration,
29};