Method: Protocol::HTTP2::Framer#initialize

Defined in:
lib/protocol/http2/framer.rb

#initialize(stream, frames = FRAMES) ⇒ Framer

Initialize a new framer with a stream and frame definitions.



51
52
53
54
# File 'lib/protocol/http2/framer.rb', line 51

def initialize(stream, frames = FRAMES)
  @stream = stream
  @frames = frames
end