NAME
HTTP::Engine::Middleware::Status - server status manager
SYNOPSIS
my $mw = HTTP::Engine::Middleware->new;
$mw->install( 'HTTP::Engine::Middleware::Status' => {
launch_at => '/hem-server-status',
plugins => [
'Memory', # use HTTP::Engine::Middleware::Status::Memory
],
});
HTTP::Engine->new(
interface => {
module => 'YourFavoriteInterfaceHere',
request_handler => $mw->handler( \&handler ),
}
)->run();
# $ GET http//localhost/hem-server-status
# to get the status contents
DESCRIPTION
this module is given server status contents like Apache's mod_status.c to HTTP::Engine.
SEE ALSO
HTTP::Engine::Middleware::Status::Memory
AUTHORS
Kazuhiro Osawa