Registry / networking / http-parser-lite

http-parser-lite

JSON →
library1.0.1rbrubygemsunverified

A lightweight Ruby wrapper around Joyent's http-parser for parsing HTTP messages.

gem install http-parser-lite
INSTALL
IMPORT
SIG · HTTP-PARSER-LITE
H
http-parser-lite
networkingrubyv1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HttpParser
require 'http-parser-lite'

Parse HTTP request/response data incrementally.

require 'http-parser-lite' parser = HttpParser::Parser.new parser << "GET / HTTP/1.1\r\nHost: example.com\r\n\r\n" puts parser.headers['Host']
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
http-parser-lite — gem install http-parser-lite · libregistry