The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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_cookies
finalize_error
finalize_headers
forward
prepare
prepare_action
prepare_body
prepare_connection
prepare_cookies
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.