redefining #send for the proxy channel (it just enqueues)

This commit is contained in:
HoneyryderChuck 2018-06-11 18:33:25 +01:00
parent f271ec349b
commit 33d1cfcc62

View File

@ -111,6 +111,10 @@ module HTTPX
true
end
def send(request, **args)
@pending << [request, args]
end
def to_io
case @state
when :idle