Dancer2::Core::Role::StandardResponses - Role to provide commonly used responses
version 0.10
Generic method that produces a response in the context given with a code and a message:
$self->response( $ctx, 404, "not found" );
Produces a 400 response in the context given.
Produces a 404 response in the context given.
Produces a 403 response in the context given.
Dancer Core Developers
This software is copyright (c) 2013 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dancer2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dancer2
CPAN shell
perl -MCPAN -e shell install Dancer2
For more information on module installation, please visit the detailed CPAN module installation guide.