Method: HTTPX::Plugins::StreamBidi::Signal#initialize

Defined in:
lib/httpx/plugins/stream_bidi.rb

#initializeSignal

Returns a new instance of Signal.



151
152
153
154
155
# File 'lib/httpx/plugins/stream_bidi.rb', line 151

def initialize
  @closed = false
  @error = nil
  @pipe_read, @pipe_write = IO.pipe
end