NAME

Drogo::Dispatch - Dispatching framework for Drogo

For an example on using the dispatcher, please see L<Drogo>.

use Drogo::Dispatch( auto_import => 1 );

Parameters:

    import_drogo_methods - Inject methods from L<Drogo::Guts> into dispatched class, which is deprecated.
    auto_import - Automatically load modules when they are dispatched, you probably do not want this in a production application.
    auto_redirect - Redirect requests for an index that lack a trailing slash to the slashed form.
    app_path - Path prefix to strip from the request URI before dispatching.

Mapping: Drogo can map to entirely different modules with the mapping hash.

Example:

use Drogo::Dispatch ( mapping => {
   'tornado' => 'Tornado::App',
} );

AUTHORS

Bizowie <http://bizowie.com>

COPYRIGHT AND LICENSE

Copyright (C) 2013 Bizowie

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.