Skip to main content

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    fmt::Debug,
17    fmt::{self, Display},
18    io::{Read, Write},
19    net::TcpStream,
20    sync::{Arc, RwLock, RwLockReadGuard},
21    time::Duration,
22};