From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

HTTP::Engine::Interface::Test - HTTP::Engine Test Interface

SYNOPSIS

my $response = HTTP::Engine->new(
interface => {
module => 'Test',
request_handler => sub {
my $req = shift;
HTTP::Engine::Response->new( body => Dumper($req) );
}
},
)->run(HTTP::Request->new( GET => 'http://localhost/' ), env => \%ENV);
print $response->content;

DESCRIPTION

HTTP::Engine::Interface::Test is test engine base class

SEE ALSO

HTTP::Engine::Test::Request

AUTHOR

Kazuhiro Osawa <ko@yappo.ne.jp>