NAME

HTTP::Engine::Middleware - middlewares distribution

WARNING! WARNING!

THIS MODULE IS IN ITS ALPHA QUALITY. THE API MAY CHANGE IN THE FUTURE

SYNOPSIS

simply

my $mw = HTTP::Engine::Middleware->new;
$mw->install(qw/ HTTP::Engine::Middleware::DebugScreen HTTP::Engine::Middleware::ReverseProxy /);
HTTP::Engine->new(
    interface => {
        module => 'YourFavoriteInterfaceHere',
        request_handler => $mw->handler( \&handler ),
    }
)->run();

method injection middleware

my $mw = HTTP::Engine::Middleware->new({ method_class => 'HTTP::Engine::Request' });
$mw->install(qw/ HTTP::Engine::Middleware::DebugScreen HTTP::Engine::Middleware::ReverseProxy /);
HTTP::Engine->new(
    interface => {
        module => 'YourFavoriteInterfaceHere',
        request_handler => $mw->handler(sub {
            my $req = shift;
            HTTP::Engine::Response->new( body => $req->mobile_attribute );
        })
    }
)->run();

DESCRIPTION

HTTP::Engine::Middleware is official middlewares distribution of HTTP::Engine.

WISHLIST

Authentication

OpenID

mod_rewrite ( someone write :p )

and more ideas

AUTHOR

Kazuhiro Osawa <ko@yappo.ne.jp>

Daisuke Maki

Tokuhiro Matsuno <tokuhirom@gmail.com>

nyarla

marcus

hidek

walf443

Takatoshi Kitano <techmemo@gmail.com<gt>

SEE ALSO

HTTP::Engine

REPOSITORY

We moved to GitHub.

git clone git://github.com/http-engine/HTTP-Engine-Middleware.git

HTTP::Engine::Middleware's Git repository is hosted at http://github.com/http-engine/HTTP-Engine-Middleware. patches and collaborators are welcome.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.