Yukki::Web - the Yukki web server
version 0.111060
This class handles the work of dispatching incoming requests to the various controllers.
This is the Path::Router that will determine where incoming requests are sent. It is automatically set to a Yukki::Web::Router instance.
Helper method used by "controller" and "view".
my $controller = $app->controller($name);
Returns an instance of the named Yukki::Web::Controller.
my $view = $app->view($name);
Returns an instance of the named Yukki::Web::View.
my $response = $app->dispatch($env);
This is a PSGI application in a method call. Given a PSGI environment, maps that to the appropriate controller and fires it. Whether successful or failure, it returns a PSGI response.
enable $app->session_middleware;
Returns the setup for the PSGI session middleware.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
This software is copyright (c) 2011 by Qubling Software LLC.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Yukki, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Yukki
CPAN shell
perl -MCPAN -e shell install Yukki
For more information on module installation, please visit the detailed CPAN module installation guide.