++ed by:
ZOFFIX WRUPPERT NICKL NEMUX HRUPP

122 PAUSE users
156 non-PAUSE users.

Sebastian Riedel

NAME

Mojolicious::Plugin::PoweredBy - Powered by plugin

SYNOPSIS

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

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

DESCRIPTION

Mojolicious::Plugin::PoweredBy is a plugin that adds an X-Powered-By header which defaults to Mojolicious (Perl). This is a core plugin, that means it is always enabled and its code a good example for learning to build new plugins.

OPTIONS

Mojolicious::Plugin::PoweredBy supports the following options.

powered_by

  plugin PoweredBy => (name => 'MyApp 1.0');

Value for X-Powered-By header.

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://mojolicio.us.