Sha256: 3e51b7a6af6533a2f423d49ad682e5fab031bf016ecc0cf426571e290417e3ca
Contents?: true
Size: 480 Bytes
Versions: 6
Compression:
Stored size: 480 Bytes
Contents
# llhttp Ruby bindings for [llhttp](https://github.com/nodejs/llhttp). ## Install ``` gem install llhttp ``` ## Usage ```ruby require "llhttp" # Define a delegate class for handling callbacks: # class Delegate < LLHttp::Delegate def on_message_begin ... end end delegate = Delegate.new # Create a parser: # parser = LLHttp::Parser.new(delegate) # Parse a request: # parser << "GET / HTTP/1.1\r\n\r\n" # Reset the parser for the next request: # parser.finish ```
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
llhttp-0.3.0 | README.md |
llhttp-0.2.0 | README.md |
llhttp-0.1.0 | README.md |
llhttp-0.0.3 | README.md |
llhttp-0.0.2 | README.md |
llhttp-0.0.1 | README.md |