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 lombok_macros::*;
16
17use std::{
18    error::Error,
19    fmt::Debug,
20    fmt::{self, Display},
21    io,
22    io::{Read, Write},
23    net::TcpStream,
24    sync::{Arc, PoisonError, RwLock, RwLockReadGuard, RwLockWriteGuard},
25    time::Duration,
26};