NAME
Limper::Engine::PSGI - PSGI engine for Limper
VERSION
version 0.003
SYNOPSIS
use Limper::Engine::PSGI; # all you need to do is add this line
use Limper; # this must come after all extensions
# routes and whatnot
limp;
DESCRIPTION
Limper::Engine::PSGI extends Limper to use PSGI instead of the built-in web server.
All you need to do in order to use PSGI is add use Limper::Engine::PSGI;
somewhere before use Limper;
in your app.
This package sets a request_handler and response_handler for Limper, as well as defining a non-exportable sub that turns a PSGI request into one that Limper understands.
Note that unlike other hooks, only the first request_handler and response_handler is used, so care should be taken to load this first and not load another Limper::Engine:: that also expects to make use of these hooks.
EXPORTS
Nothing additional is exported.
COPYRIGHT AND LICENSE
Copyright (C) 2014 by Ashley Willis <ashley+perl@gitable.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.4 or, at your option, any later version of Perl 5 you may have available.