Struct httparse::ParserConfig [−][src]
pub struct ParserConfig { /* fields omitted */ }
Expand description
Parser configuration.
Implementations
Sets whether spaces should be allowed after header name.
Parses a response with the given config.
pub fn parse_response_with_uninit_headers<'headers, 'buf>(
&self,
response: &mut Response<'headers, 'buf>,
buf: &'buf [u8],
headers: &'headers mut [MaybeUninit<Header<'buf>>]
) -> Result<usize>
pub fn parse_response_with_uninit_headers<'headers, 'buf>(
&self,
response: &mut Response<'headers, 'buf>,
buf: &'buf [u8],
headers: &'headers mut [MaybeUninit<Header<'buf>>]
) -> Result<usize>
Parses a response with the given config and buffer for headers
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ParserConfig
impl Send for ParserConfig
impl Sync for ParserConfig
impl Unpin for ParserConfig
impl UnwindSafe for ParserConfig
Blanket Implementations
Mutably borrows from an owned value. Read more