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 common;
6mod content_type_value;
7mod file_extension;
8mod header_key;
9mod header_value;
10mod http2;
11mod http_status;
12mod http_version;
13mod method;
14mod protocol;
15mod session;
16
17pub use {
18    common::*, content_type_value::*, file_extension::*, header_key::*, header_value::*,
19    http_status::*, http_version::*, http2::*, method::*, protocol::*, session::*,
20};
21
22use std::{
23    net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6},
24    time::Duration,
25};