pub struct HttpRequestOutput {
pub source: IpPort,
pub destination: IpPort,
pub lang: Option<String>,
pub diagnosis: HttpDiagnosis,
pub browser_matched: BrowserQualityMatched,
pub sig: ObservableHttpRequest,
}
Expand description
Holds information derived from analyzing HTTP request headers.
This structure contains details about the client, the detected application (if any), the preferred language, diagnostic parameters related to HTTP behavior, and the raw HTTP signature.
Fields§
§source: IpPort
The source IP address and port of the client making the request.
destination: IpPort
The destination IP address and port of the server receiving the request.
lang: Option<String>
The preferred language indicated in the Accept-Language
header, if present.
diagnosis: HttpDiagnosis
Diagnostic information about potential HTTP specification violations or common practices.
browser_matched: BrowserQualityMatched
The browser with the highest quality that matches the HTTP request.
sig: ObservableHttpRequest
The raw signature representing the HTTP headers and their order.
Trait Implementations§
Source§impl Debug for HttpRequestOutput
impl Debug for HttpRequestOutput
Auto Trait Implementations§
impl Freeze for HttpRequestOutput
impl RefUnwindSafe for HttpRequestOutput
impl Send for HttpRequestOutput
impl Sync for HttpRequestOutput
impl Unpin for HttpRequestOutput
impl UnwindSafe for HttpRequestOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more