ostinelli / net-http2

NetHttp2 is an HTTP/2 client for Ruby.
MIT License
140 stars 31 forks source link

Client.new with proxy #12

Closed mvalitov closed 7 years ago

mvalitov commented 7 years ago

Hi, as I understand, there is support for the use of a proxy. Could you show an example of such a code? I tried to pass it so: client = NetHttp2::Client.new("http://nghttp2.org", {proxy_addr: "127.0.0.1", proxy_port: "8080"}) but it did not help. Thanks

nattfodd commented 7 years ago

It's not supported yet, there is a PR for it. If it will be accepted, it will look like you wrote.

mvalitov commented 7 years ago

ok, thanks