NAME

Net::HTTP2::Client::Connection::Mojo

SYNOPSIS

my $h2 = Net::HTTP2::Client::Connection::Mojo->new("perl.org");

$h2->request("GET", "/")->then(
    sub ($resp) {
        print $resp->content();
    },
)->wait();

DESCRIPTION

This class extends Net::HTTP2::Client::Connection to work with Mojolicious.

PROMISES

This class’s returned promises are instances of Mojo::Promise rather than Promise::ES6.