Method: Async::HTTP::Protocol::HTTP2::Stream#initialize
- Defined in:
- lib/async/http/protocol/http2/stream.rb
#initialize(delegate, *args) ⇒ Stream
Returns a new instance of Stream.
28 29 30 31 32 33 34 35 36 37 |
# File 'lib/async/http/protocol/http2/stream.rb', line 28 def initialize(delegate, *args) super(*args) @delegate = delegate @body = body @remainder = nil @task = nil end |