1Dancer::Handler::PSGI(3U)ser Contributed Perl DocumentatiDoanncer::Handler::PSGI(3)
2
3
4

NAME

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

VERSION

9       version 1.3512
10

DESCRIPTION

12       This handler allows Dancer applications to run as part of PSGI stacks.
13       Dancer will automatically determine when running in a PSGI environment
14       and enable this handler, such that calling "dance" will return a valid
15       PSGI application.
16
17       You may enable Plack middleware in your configuration file under the
18       "plack_middlewares" key. See Dancer::Cookbook for more information.
19
20       Note that you must have Plack installed for this handler to work.
21

USAGE

23           # in bin/app.pl
24           set apphandler => 'Debug';
25
26           # then, run the app the following way
27           perl -d bin/app.pl GET '/some/path/to/test' 'with=parameters&other=42'
28

AUTHORS

30       Dancer contributors
31

AUTHOR

33       Dancer Core Developers
34
36       This software is copyright (c) 2010 by Alexis Sukrieh.
37
38       This is free software; you can redistribute it and/or modify it under
39       the same terms as the Perl 5 programming language system itself.
40
41
42
43perl v5.28.1                      2019-03-31          Dancer::Handler::PSGI(3)
Impressum