1pub(crate) mod body;
2#[cfg(test)]
3mod cfg;
4pub(crate) mod common;
5pub(crate) mod constant;
6pub(crate) mod global_trait;
7pub(crate) mod request;
8pub(crate) mod response;
9pub(crate) mod utils;
10
11pub use http_type::{
12 HashMapXxHash3_64, OptionStr, OptionUsize, OptionVecU8, hash_map_xxhash3_64, serde, serde_json,
13 serde_urlencoded, serde_xml_rs,
14};
15pub use request::{
16 request_builder::r#type::RequestBuilder, r#trait::RequestTrait, r#type::BoxRequestTrait,
17};
18pub use response::{
19 response_binary::r#type::HttpResponseBinary, response_text::r#type::HttpResponseText,
20 r#trait::ResponseTrait, r#type::BoxResponseTrait,
21};
22
23pub(crate) use body::r#type::*;
24pub(crate) use constant::r#type::*;
25pub(crate) use global_trait::r#trait::*;
26pub(crate) use http_type::{
27 ACCEPT, ACCEPT_ANY, BR_BYTES, COLON_SPACE_BYTES, CONTENT_LENGTH, CONTENT_TYPE, Compress,
28 ContentType, DEFAULT_BUFFER_SIZE, DEFAULT_HTTP_PATH, DEFAULT_MAX_REDIRECT_TIMES,
29 DEFAULT_TIMEOUT, EMPTY_STR, HOST, HTTP_BR, HTTP_BR_BYTES, HTTP_DOUBLE_BR_BYTES, HttpStatus,
30 HttpUrlComponents, HttpVersion, LOCATION, Methods, Protocol, QUERY_SYMBOL, RequestBody,
31 RequestBodyString, RequestError, RequestHeaders, ResponseHeaders, ResponseStatusCode, SPACE_U8,
32 TAB_U8, USER_AGENT, ZERO_STR,
33};
34pub(crate) use request::{config::r#type::*, request::r#type::*, tmp::r#type::*, r#type::*};
35pub(crate) use rustls::{
36 ClientConfig, ClientConnection, RootCertStore, StreamOwned, pki_types::ServerName,
37};
38
39pub(crate) use common::r#type::*;
40pub(crate) use std::{
41 fmt::{self, Debug, Display},
42 net::TcpStream,
43 sync::{Arc, RwLock},
44 time::Duration,
45 vec::IntoIter,
46};
47pub(crate) use utils::vec::*;