tcp_request/
lib.rs

1//! tcp-request
2//!
3//! A Rust library for sending raw TCP requests, with features
4//! for handling responses, managing redirects, and working
5//! with compressed data over TCP connections.
6
7#[cfg(test)]
8mod cfg;
9pub(crate) mod common;
10pub(crate) mod request;
11pub(crate) mod response;
12
13pub use request::*;
14pub use response::*;
15
16pub(crate) use common::*;
17
18pub(crate) use std::{
19    error::Error as StdError,
20    fmt::Debug,
21    fmt::{self, Display},
22    io::{Read, Write},
23    net::TcpStream,
24    sync::{Arc, RwLock},
25    time::Duration,
26};