Query: mojolicious::plugin::poweredby
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Mojolicious::Plugin::PoweredBy(3pm) User Contributed Perl Documentation Mojolicious::Plugin::PoweredBy(3pm)NAMEMojolicious::Plugin::PoweredBy - Powered by pluginSYNOPSIS# Mojolicious $self->plugin('PoweredBy'); $self->plugin(PoweredBy => (name => 'MyApp 1.0')); # Mojolicious::Lite plugin 'PoweredBy'; plugin PoweredBy => (name => 'MyApp 1.0');DESCRIPTIONMojolicious::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, you're welcome to fork it.OPTIONSMojolicious::Plugin::PoweredBy supports the following options. "name" plugin PoweredBy => (name => 'MyApp 1.0'); Value for "X-Powered-By" header.METHODSMojolicious::Plugin::PoweredBy inherits all methods from Mojolicious::Plugin and implements the following new ones. "register" $plugin->register($app, $conf); Register plugin hooks in Mojolicious application.SEE ALSOMojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojolicious::Plugin::PoweredBy(3pm)