Add HTTPClient pool

This commit is contained in:
Omar Roth
2019-10-25 12:58:16 -04:00
parent aba2c5b938
commit 6930570fa2
14 changed files with 115 additions and 111 deletions

View File

@@ -77,6 +77,10 @@ class HTTPClient < HTTP::Client
end
end
def unset_proxy
@socket = nil
end
def proxy_connection_options
opts = {} of Symbol => Float64 | Nil