Kazuhiro Osawa > HTTP-Engine-Middleware-0.16 > HTTP::Engine::Middleware::Status

Download:
HTTP-Engine-Middleware-0.16.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source   Latest Release: HTTP-Engine-Middleware-0.17

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