Net::Fastly::Backend - Representation of an individual host you want to serve assets off
The id of the service this belongs to.
The number of the version this belongs to.
The name of this backend.
A magic field - will automagically be set to whichever of ipv4, ipv6 or hostname is currently set.
Conversely if you set the address field then the correct field from ipv4, ipv6 or hostname will be set.
the ipv4 address of the host to serve assets (this, hostname or ipv6 must be set)
the ipv6 address of the host to serve assets (this, hostname or ipv4 must be set)
the hostname to serve assets from (this, ipv4 or ipv6 must be set)
the port to connect to (default 80)
whether to use ssl to get to the backend (default 0 i.e false)
how long in milliseconds to wait for a connect before declaring the backend out of rotation (default 1,000)
how long in milliseconds to wait for the first bytes before declaring the host out of rotation (default 15,000)
how long in milliseconds to wait between bytes before declaring the backend out of rotation (default 10,000)
how many errors before declaring the backend out of rotation (default 0, 0 meaning turned off)
the maximum number of connections to this backend (default 20)
the weight assigned to this backend (default 100)
To install Net::Fastly, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Fastly
CPAN shell
perl -MCPAN -e shell install Net::Fastly
For more information on module installation, please visit the detailed CPAN module installation guide.