This p-r adds env_proxy attribute to Client. If set to true, it reads environment variables for proxy settings. If it successfully reads valid proxy settings, it uses that proxy to connect to WebSocket end-points.
To support proxy connection, it now depends on AnyEvent::Connector module.
The proxy connection is tested in xt/proxy.t, in which it actually connects to echo.websocket.org. The test is run only if certain environment variables are set, so travis skips this test.
This p-r closes #36, hopefully.
I'm not so familiar with Dist::Zilla, so you might need to revise dist.ini and other files.
This p-r adds
env_proxy
attribute to Client. If set to true, it reads environment variables for proxy settings. If it successfully reads valid proxy settings, it uses that proxy to connect to WebSocket end-points.To support proxy connection, it now depends on AnyEvent::Connector module.
The proxy connection is tested in
xt/proxy.t
, in which it actually connects to echo.websocket.org. The test is run only if certain environment variables are set, so travis skips this test.This p-r closes #36, hopefully.
I'm not so familiar with Dist::Zilla, so you might need to revise dist.ini and other files.