mod any;
mod arc_mutex;
mod arc_rwlock;
mod attribute;
mod body;
mod box_leak;
mod box_rwlock;
mod content_type;
mod cookie;
mod file_extension;
mod hash_map_xx_hash3_64;
mod hash_set_xx_hash3_64;
mod http_status;
mod http_url;
mod http_version;
mod lifetime;
mod methods;
mod panic;
mod protocol;
mod rc_rwlock;
mod request;
mod response;
mod status;
mod stream;
mod task;
mod upgrade_type;
mod websocket_frame;
use http_type::*;
use std::{
collections::VecDeque,
io::{self, ErrorKind},
mem,
num::ParseIntError,
ptr,
rc::Rc,
sync::{
Arc,
atomic::{self, AtomicBool, AtomicUsize},
},
};
use {
serde::Deserialize,
tokio::{
runtime::Handle,
spawn,
sync::{RwLockReadGuard, RwLockWriteGuard},
task::{JoinError, JoinHandle},
time::{Duration, error::Elapsed},
},
url::{ParseError, Url},
};