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
7mod common;
8mod request;
9mod response;
10
11pub use {request::*, response::*};
12
13use common::*;
14
15use std::{
16 error::Error as StdError,
17 fmt::Debug,
18 fmt::{self, Display},
19 io::{Read, Write},
20 net::TcpStream,
21 sync::{Arc, RwLock},
22 time::Duration,
23};