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
Session
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
REPOSITORY
svn co http://svn.coderepos.org/share/lang/perl/HTTP-Engine-Middleware/trunk HTTP-Engine-Middleware
HTTP::Engine::Middleware's Subversion repository is hosted at http://coderepos.org/share/. 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.