![]() |
![]()
| ![]() |
![]()
NAMEHTTP::Engine::Middleware::Status - server status manager SYNOPSISmy $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 DESCRIPTIONthis module is given server status contents like Apache's mod_status.c to HTTP::Engine. SEE ALSOHTTP::Engine::Middleware::Status::Memory AUTHORSKazuhiro Osawa
|