NAME
HTTP::Engine::Middleware::DebugRequest - dump request
SYNOPSIS
my $mw = HTTP::Engine::Middleware->new;
$mw->install( 'HTTP::Engine::Middleware::DebugRequest' => {
logger => sub {
warn @_;
},
});
HTTP::Engine->new(
interface => {
module => 'YourFavoriteInterfaceHere',
request_handler => $mw->handler( \&handler ),
}
)->run();
DESCRIPTION
This middleware prints request info like Catalyst.
AUTHOR
dann