NAME
Catalyst::Plugin::Observe - Observe Engine Events
SYNOPSIS
use Catalyst qw[Observe];
MyApp->add_subscriber( 'prepare_path', \&observer );
sub observer {
my ( $c, $event, @args ) = @_;
printf( "observed : %s\n", $event );
}
DESCRIPTION
Observe Engine events.
OBSERVABLE EVENTS
- dispatch
- finalize
- finalize_body
- finalize_error
- finalize_headers
- forward
- prepare
- prepare_action
- prepare_body
- prepare_connection
- prepare_headers
- prepare_parameters
- prepare_path
- prepare_request
- prepare_uploads
SEE ALSO
Class::Publisher, Catalyst::Dispatch, Catalyst::Engine.
AUTHOR
Christian Hansen, ch@ngmedia.com
LICENSE
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.