Method: HTTPX::Channel#merge
- Defined in:
- lib/httpx/channel.rb
#merge(channel) ⇒ Object
102 103 104 105 106 107 108 |
# File 'lib/httpx/channel.rb', line 102 def merge(channel) @origins += channel.instance_variable_get(:@origins) pending = channel.instance_variable_get(:@pending) pending.each do |req, args| send(req, args) end end |