Crate httparse [−] [src]
A push library for parsing HTTP/1.x requests and responses.
The focus is on speed and safety. Unsafe code is used to keep parsing fast,
but unsafety is contained in a submodule, with invariants enforced. The
parsing internals use an
Iterator instead of direct indexing, while
skipping bounds checks.
The speed is faster than picohttpparser, when SIMD is not available.
Represents a parsed header.
An error in parsing a chunk size.
A parsed Request.
A parsed Response.
An error in parsing.
The result of a successful parse pass.
An empty header, useful for constructing a
Parse a buffer of bytes as a chunk size.
Parse a buffer of bytes as headers.
A Result of any parsing action.