Struct httparse::ParserConfig [−][src]
pub struct ParserConfig { /* fields omitted */ }
Parser configuration.
Implementations
impl ParserConfig
[src]
impl ParserConfig
[src]pub fn allow_spaces_after_header_name_in_responses(
&mut self,
value: bool
) -> &mut Self
[src]
&mut self,
value: bool
) -> &mut Self
Sets whether spaces should be allowed after header name.
pub fn parse_response<'headers, 'buf>(
&self,
response: &mut Response<'headers, 'buf>,
buf: &'buf [u8]
) -> Result<usize>
[src]
&self,
response: &mut Response<'headers, 'buf>,
buf: &'buf [u8]
) -> Result<usize>
Parses a response with the given config.
Trait Implementations
impl Clone for ParserConfig
[src]
impl Clone for ParserConfig
[src]fn clone(&self) -> ParserConfig
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for ParserConfig
[src]
impl Default for ParserConfig
[src]