Net::Fastly::Client - communicate with the Fastly HTTP API
There are two ways to proxy:
The first method is to pass a proxy option into the constructor
my $client = Net::Fastly::Client->new(user => $username, password => $password, proxy => "http://localhost:8080");
The second is to set your
https_proxy environment variable. So, in Bash
% export https_proxy=http://localhost:8080
or in CSH or TCSH
% setenv https_proxy=http://localhost:8080
Create a new Fastly user agent. Options are
The login to use
Alternatively use the API Key (only some commands are available)
Optionally pass in an https proxy to use.
Whether or not we're authed at all by either API key or username & password
Whether or not we're authed by API key
Whether or not we're authed by username & password
Set the current customer to act as.
NOTE: this will only work if you're an admin
Get or set the timeout value in seconds. The default value is 180 seconds.