mirror of
https://github.com/HoneyryderChuck/httpx.git
synced 2025-08-12 00:01:58 -04:00
http2: added #consume
This commit is contained in:
parent
662be789ff
commit
4fa3b9d1a5
@ -69,6 +69,12 @@ module HTTPX
|
||||
end
|
||||
end
|
||||
|
||||
def consume
|
||||
@streams.each do |request, stream|
|
||||
handle(request, stream)
|
||||
end
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def handle(request, stream)
|
||||
|
Loading…
x
Reference in New Issue
Block a user