1Dancer::Handler::PSGI(3U)ser Contributed Perl DocumentatiDoanncer::Handler::PSGI(3)
2
3
4
6 Dancer::Handler::PSGI - a PSGI handler for Dancer applications
7
9 version 1.3513
10
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
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
30 Dancer contributors
31
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.34.0 2021-07-22 Dancer::Handler::PSGI(3)