Net::HTTP2::Client - HTTP/2 client base class
use Net::HTTP2::Client::Mojo; Net::HTTP2::Client::Mojo->new()->request( GET => 'https://perl.com', )->then( sub ($response) { # Handle the Net::HTTP2::Response } )->wait();
Net::HTTP2::Client::AnyEvent and Net::HTTP2::Client::IOAsync exist as well for AnyEvent and IO::Async, respectively.
This class implements base functionality for an HTTP/2 client in Perl.
To install Net::HTTP2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::HTTP2
CPAN shell
perl -MCPAN -e shell install Net::HTTP2
For more information on module installation, please visit the detailed CPAN module installation guide.