logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Dancer::Handler::PSGI - a PSGI handler for Dancer applications

Author

       Dancer Core Developers

Authors

       Dancer contributors

Description

       This handler allows Dancer applications to run as part of PSGI stacks. Dancer will automatically
       determine when running in a PSGI environment and enable this handler, such that calling "dance" will
       return a valid PSGI application.

       You may enable Plack middleware in your configuration file under the "plack_middlewares" key. See
       Dancer::Cookbook for more information.

       Note that you must have Plack installed for this handler to work.

Name

       Dancer::Handler::PSGI - a PSGI handler for Dancer applications

Usage

           # in bin/app.pl
           set apphandler => 'Debug';

           # then, run the app the following way
           perl -d bin/app.pl GET '/some/path/to/test' 'with=parameters&other=42'

Version

       version 1.3521

See Also