Limper::Engine::PSGI - PSGI engine for Limper
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;
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.
Nothing additional is exported.
Copyright (C) 2014 by Ashley Willis <firstname.lastname@example.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.