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
use crate::*;

/// Result type for request operations containing either a boxed response trait or request error.
pub type RequestResult = Result<BoxResponseTrait, RequestError>;

/// Boxed trait object for request operations.
pub type BoxRequestTrait = Box<dyn RequestTrait<RequestResult = RequestResult>>;