A Rust library for sending raw TCP requests, with features for handling responses, managing redirects, and working with compressed data over TCP connections.
usecrate::*;/// Trait defining the interface for response operations.
pubtraitResponseTrait: Send + Debug {typeOutputText:Clone+Sized;typeOutputBinary:Clone+Sized;/// Gets the response as text.
////// # Returns
////// - `Self::OutputText` - The response text content.
fntext(&self)->Self::OutputText;/// Gets the response as binary data.
////// # Returns
////// - `Self::OutputBinary` - The response binary content.
fnbinary(&self)->Self::OutputBinary;/// Creates a response from raw bytes.
////// # Arguments
////// - `&[u8]` - The raw response data.
////// # Returns
////// - `Self` - A new response instance.
fnfrom(response:&[u8])->SelfwhereSelf: Sized;
}