All Projects → seanmonstar → Httparse

seanmonstar / Httparse

Licence: other
A push parser for the HTTP 1.x protocol in Rust.

Programming Languages

rust
11053 projects

Labels

Projects that are alternatives of or similar to Httparse

muninn
With a simple, flexible and maintainable configuration file, you can parse html and output json according to the schema you specify.
Stars: ✭ 38 (-85.98%)
Mutual labels:  parse
IdParser
Parses PDF417 AAMVA-compliant driver's licenses and ID cards
Stars: ✭ 59 (-78.23%)
Mutual labels:  parse
pascal-interpreter
A simple interpreter for a large subset of Pascal language written for educational purposes
Stars: ✭ 21 (-92.25%)
Mutual labels:  parse
common-words
Updated list of the 100 most common words in the English language. Useful for excluding these words from arrays.
Stars: ✭ 13 (-95.2%)
Mutual labels:  parse
rankr
🇰🇷 Realtime integrated information analysis service
Stars: ✭ 21 (-92.25%)
Mutual labels:  parse
rest-query-parser
Query Parser for REST
Stars: ✭ 29 (-89.3%)
Mutual labels:  parse
pinus-parse-interface
parse interface to pinus-protobuf JSON
Stars: ✭ 25 (-90.77%)
Mutual labels:  parse
Angourimath
Open-source symbolic algebra library for C# and F#. One of the most powerful in .NET
Stars: ✭ 266 (-1.85%)
Mutual labels:  parse
vproto
Protobuf compiler and runtime in V
Stars: ✭ 42 (-84.5%)
Mutual labels:  parse
metaparse
A handy tool to help design and parse your own language
Stars: ✭ 22 (-91.88%)
Mutual labels:  parse
LemonDeer
Make m3u8 parse and video download as white magic.
Stars: ✭ 38 (-85.98%)
Mutual labels:  parse
fefe
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
Stars: ✭ 34 (-87.45%)
Mutual labels:  parse
php-video-url-parser
A Simple and efficient PHP Video URL Parser that provides you thumbnails and embed codes for various video streaming websites
Stars: ✭ 57 (-78.97%)
Mutual labels:  parse
angular-expression-parser
This library helps in achieving AngularJs equivalents of $parse, $eval and $watch in Angular.
Stars: ✭ 17 (-93.73%)
Mutual labels:  parse
Asammdf
Fast Python reader and editor for ASAM MDF / MF4 (Measurement Data Format) files
Stars: ✭ 255 (-5.9%)
Mutual labels:  parse
LeagueReplayParser
C# library which can read some data from a .rofl file, and start a replay in the client. (no longer actively maintained)
Stars: ✭ 20 (-92.62%)
Mutual labels:  parse
ValveFileVDF
C++ Parser and Writer for Valve Data Format (e.g. .vdf files used in steam)
Stars: ✭ 32 (-88.19%)
Mutual labels:  parse
Swiftpascalinterpreter
Simple Swift interpreter for the Pascal language inspired by the Let’s Build A Simple Interpreter article series.
Stars: ✭ 270 (-0.37%)
Mutual labels:  parse
Parse Domain
Splits a hostname into subdomains, domain and (effective) top-level domains.
Stars: ✭ 261 (-3.69%)
Mutual labels:  parse
PSDiscoveryProtocol
Capture and parse CDP and LLDP packets on local or remote computers
Stars: ✭ 59 (-78.23%)
Mutual labels:  parse

httparse

Build Status Coverage Status crates.io

A push parser for the HTTP 1.x protocol. Avoids allocations. No copy. Fast.

Works with no_std, simply disable the std Cargo feature.

Documentation Changelog

Usage

let mut headers = [httparse::EMPTY_HEADER; 16];
let mut req = httparse::Request::new(&mut headers);

let buf = b"GET /index.html HTTP/1.1\r\nHost";
assert!(req.parse(buf)?.is_partial());

// a partial request, so we try again once we have more data

let buf = b"GET /index.html HTTP/1.1\r\nHost: example.domain\r\n\r\n";
assert!(req.parse(buf)?.is_complete());

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].