logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

IO::All::HTTPS - Extends IO::All for HTTPS URLs

Authors

       Ivan Tubert-Brohman <itub@cpan.org> and Brian Ingerson <ingy@cpan.org>

Description

       This module extends IO::All for dealing with HTTPS URLs.  Note that you don't need to use it explicitly,
       as it is autoloaded by IO::All whenever it sees something that looks like an HTTPS URL.

       The SYNOPSIS shows some simple typical examples, but there are many other interesting combinations with
       other IO::All features! For example, you can get an HTTPS URL and write the content to a socket, or to an
       FTP URL, of to a DBM file.

Methods

       This is a subclass of IO::All::LWP. The only new method is "https", which can be used to create a blank
       IO::All::HTTPS object; or it can also take an HTTPS URL as a parameter. Note that in most cases it is
       simpler just to call io('https://example.com'), which calls the "https" method automatically.

Name

       IO::All::HTTPS - Extends IO::All for HTTPS URLs

Operator Overloading

       The same operators from IO::All may be used. < GETs an HTTPS URL; > PUTs to an HTTPS URL.

See Also

       IO::All, IO::All::LWP, LWP.

Synopsis

           use IO::All;

           $content < io('https://example.org');   # GET webpage

           # two ways of getting a page with a password:
           $content < io('https://me:secret@example.org');
           $content < io('https://example.org')->user('me')->password('secret');

See Also