AnyEvent-WebSocket-Client

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

 env_proxy

    If you set true to this boolean attribute, it loads proxy settings from
    environment variables. If it finds valid proxy settings, connect method
    will use that proxy.

    Default: false.

    For ws WebSocket end-points, first it reads ws_proxy (or WS_PROXY)
    environment variable. If it is not set or empty string, then it reads
    http_proxy (or HTTP_PROXY). For wss WebSocket end-points, it reads
    wss_proxy (WSS_PROXY) and https_proxy (HTTPS_PROXY) environment
    variables.

METHODS

 connect

     my $cv = $client->connect($uri)
     my $cv = $client->connect($uri, $host, $port);

lib/AnyEvent/WebSocket/Client.pm  view on Meta::CPAN

=head2 env_proxy

If you set true to this boolean attribute, it loads proxy settings
from environment variables. If it finds valid proxy settings,
C<connect> method will use that proxy.

Default: false.

For C<ws> WebSocket end-points, first it reads C<ws_proxy> (or
C<WS_PROXY>) environment variable. If it is not set or empty string,
then it reads C<http_proxy> (or C<HTTP_PROXY>). For C<wss> WebSocket
end-points, it reads C<wss_proxy> (C<WSS_PROXY>) and C<https_proxy>
(C<HTTPS_PROXY>) environment variables.

=head1 METHODS

=head2 connect

 my $cv = $client->connect($uri)
 my $cv = $client->connect($uri, $host, $port);



( run in 2.694 seconds using v1.01-cache-2.11-cpan-483215c6ad5 )