HTTP::Engine::Middleware - middlewares distribution
THIS MODULE IS IN ITS ALPHA QUALITY. THE API MAY CHANGE IN THE FUTURE
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();
HTTP::Engine::Middleware is official middlewares distribution of HTTP::Engine.
Authentication
OpenID
mod_rewrite ( someone write :p )
and more ideas
Kazuhiro Osawa <ko@yappo.ne.jp>
Daisuke Maki
Tokuhiro Matsuno <tokuhirom@gmail.com>
nyarla
marcus
hidek
walf443
Takatoshi Kitano <techmemo@gmail.com<gt>
HTTP::Engine
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.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTTP::Engine::Middleware, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Engine::Middleware
CPAN shell
perl -MCPAN -e shell install HTTP::Engine::Middleware
For more information on module installation, please visit the detailed CPAN module installation guide.