Net::HTTPS - Low-level HTTP over SSL/TLS connection (client)
The Net::HTTPS is a low-level HTTP over SSL/TLS client. The interface is the same as the interface for Net::HTTP, but the constructor method take additional parameters as accepted by IO::Socket::SSL. The Net::HTTPS object isa IO::Socket::SSL too, which make it inherit additional methods from that base class.
Net::HTTPS
Net::HTTP
IO::Socket::SSL
For historical reasons this module also supports using Net::SSL (from the Crypt-SSLeay distribution) as its SSL driver and base class. This base is automatically selected if available and IO::Socket::SSL isn't. You might also force which implementation to use by setting $Net::HTTPS::SSL_SOCKET_CLASS before loading this module. If not set this variable is initialized from the PERL_NET_HTTPS_SSL_SOCKET_CLASS environment variable.
Net::SSL
PERL_NET_HTTPS_SSL_SOCKET_CLASS
You might set the PERL_NET_HTTPS_SSL_SOCKET_CLASS environment variable to the name of the base SSL implementation (and Net::HTTPS base class) to use. The default is IO::Socket::SSL. Currently the only other supported value is Net::SSL.
Net::HTTP, IO::Socket::SSL
To install Net::HTTP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::HTTP
CPAN shell
perl -MCPAN -e shell install Net::HTTP
For more information on module installation, please visit the detailed CPAN module installation guide.