NAME

Mojolicious::Plugin::PoweredBy - Powered By Plugin

SYNOPSIS

# Mojolicious
$self->plugin('powered_by');
$self->plugin(powered_by => (name => 'MyApp 1.0'));

# Mojolicious::Lite
plugin 'powered_by';
plugin powered_by => (name => 'MyApp 1.0');

DESCRIPTION

Mojolicous::Plugin::PoweredBy is a plugin that adds an X-Powered-By header which defaults to Mojolicious (Perl).

METHODS

Mojolicious::Plugin::PoweredBy inherits all methods from Mojolicious::Plugin and implements the following new ones.

register

$plugin->register;

Register plugin hooks in Mojolicious application.

SEE ALSO

Mojolicious, Mojolicious::Guides, http://mojolicious.org.