diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-16 22:23:16 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2015-07-16 22:23:16 +0900 |
commit | 8586affb4ce6d707e94cb01d901f8a56b0903134 (patch) | |
tree | f7058443b33a280a9c95528a79b72a6604931b2a /lib/plum/hpack/encoder.rb | |
parent | 3501e4177aea1427ae2443f1663543f4e773787d (diff) | |
download | plum-8586affb4ce6d707e94cb01d901f8a56b0903134.tar.gz |
hpack: include HPACK::Context in HPACK::(De|En)coder
Diffstat (limited to 'lib/plum/hpack/encoder.rb')
-rw-r--r-- | lib/plum/hpack/encoder.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plum/hpack/encoder.rb b/lib/plum/hpack/encoder.rb index 4a04eb7..3f7e43f 100644 --- a/lib/plum/hpack/encoder.rb +++ b/lib/plum/hpack/encoder.rb @@ -1,10 +1,10 @@ module Plum module HPACK class Encoder - attr_reader :context + include HPACK::Context def initialize(dynamic_table_limit) - @context = Context.new(dynamic_table_limit) + super end # currently only support 0x0000XXXX type (without indexing) |