tcp-request 2.3.16

A Rust library for sending raw TCP requests, with features for handling responses, managing redirects, and working with compressed data over TCP connections.
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::*;

/// TCP request structure containing configuration and response data.
#[derive(Clone, Debug)]
pub struct TcpRequest {
    /// Thread-safe configuration for the request.
    pub(crate) config: ArcRwLock<Config>,
    /// Thread-safe binary response storage.
    pub(crate) response: ArcRwLock<TcpResponseBinary>,
}