Project

hpack

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby implementation of the HPACK (Header Compression for HTTP/2) standard available at http://http2.github.io/http2-spec/compression.html
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.6
>= 10.4.2, ~> 10.4
>= 3.1.0, ~> 3.1
>= 0.9.1, ~> 0.9
 Project Readme

Build Status Code Climate Test Coverage

Hpack

Ruby implementation of the HPACK (Header Compression for HTTP/2) standard.

http://http2.github.io/http2-spec/compression.html

Installation

Add this line to your application's Gemfile:

gem 'hpack'

And then execute:

$ bundle

Or install it yourself as:

$ gem install hpack

Usage

require 'hpack'

io_stream = ... something which gives you IO object with data to be processed ...

decoder = Hpack::Decoder.new
decoder.decode io_stream do |header, value, metadata|
  ...
end

Contributing

  1. Fork it ( https://github.com/[my-github-username]/hpack/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request