Deprecated.
The maintainer of this distribution has indicated that it is deprecated and no longer suitable for use.
NAME
HTTPx::Dispatcher - the uri dispatcher(DEPRECATED)
SYNOPSIS
package
Your::Dispatcher;
use
HTTPx::Dispatcher;
connect
':controller/:action/:id'
;
# in your *.psgi file
use
Plack::Request;
use
Your::Dispatcher;
sub
{
my
$req
= Plack::Request->new(
$_
[0]);
my
$rule
= Your::Dispatcher->match(
$c
->req);
my
$action
=
$rule
->{action};
$rule
->{controller}->
$action
(
$c
->req );
};
DESCRIPTION
THIS MODULE WAS NO LONGER MAINTAIN. USE Router::Simple INSTEAD.
AUTHOR
Tokuhiro Matsuno <tokuhirom@gmail.com>
THANKS TO
lestrrat
masaki
SEE ALSO
Plack::Request, HTTP::Engine, Routes
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.