Extension of the Connection::HTTP2
class, which adds functionality to deal with a request that can’t be drained and must be interleaved with the response streams.
The streams keeps send DATA frames while there’s data; when they’re ain’t, the stream is kept open; it must be explicitly closed by the end user.
Public Class methods
new(*)
[show source]
# File lib/httpx/plugins/stream_bidi.rb 20 def initialize(*) 21 super 22 @lock = Thread::Mutex.new 23 end