pub struct HTTPParser { /* private fields */ }Expand description
HTTP Parser Analyzer that parses SSL traffic into HTTP requests/responses
Implementations§
Source§impl HTTPParser
impl HTTPParser
Sourcepub fn disable_raw_data(self) -> Self
pub fn disable_raw_data(self) -> Self
Disable raw data inclusion
Sourcepub fn is_http_data(data: &str) -> bool
pub fn is_http_data(data: &str) -> bool
Check if SSL data contains HTTP protocol data
Sourcepub fn parse_http_message(data: &str) -> Option<HTTPMessage>
pub fn parse_http_message(data: &str) -> Option<HTTPMessage>
Parse HTTP message from accumulated data
Trait Implementations§
Source§impl Analyzer for HTTPParser
impl Analyzer for HTTPParser
Source§fn process<'life0, 'async_trait>(
&'life0 mut self,
stream: EventStream,
) -> Pin<Box<dyn Future<Output = Result<EventStream, AnalyzerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn process<'life0, 'async_trait>(
&'life0 mut self,
stream: EventStream,
) -> Pin<Box<dyn Future<Output = Result<EventStream, AnalyzerError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Process an event stream and return a processed stream
Auto Trait Implementations§
impl Freeze for HTTPParser
impl RefUnwindSafe for HTTPParser
impl Send for HTTPParser
impl Sync for HTTPParser
impl Unpin for HTTPParser
impl UnsafeUnpin for HTTPParser
impl UnwindSafe for HTTPParser
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