++ed by:
AWNCORP AZAWAWI BEROV DAGOLDEN DCPETROV

9 PAUSE user(s)
15 non-PAUSE user(s).

Sawyer X

NAME

Dancer2::Core::Role::StandardResponses - Role to provide commonly used responses

VERSION

version 0.143000

METHODS

response

Generic method that produces a response in the context given with a code and a message:

    $self->response( $ctx, 404, "not found" );

response_400

Produces a 400 response in the context given.

response_404

Produces a 404 response in the context given.

response_403

Produces a 403 response in the context given.

AUTHOR

Dancer Core Developers

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 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.




Hosting generously
sponsored by Bytemark