The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tanker::Plugin - a base class for all Tanker plugins

SYNOPSIS

use Tanker::Plugin;

my $plugin = new Tanker::Plugin ($pipeline);

$plugin->handle($request);

this class isn't designed to be used directly but subclassed and the handle method overridden

DESCRIPTION

If a plugin is placed in a Tanker pipeline then (almost) every request that comes down the pipeline will be passed to it via the handle method.

It's then free to munge it as it wants.

AUTHOR

Simon Wistow <simon@thegestalt.org>

SEE ALSO

Tanker, Tanker::Config, Tanker::RequestGenerator, Tanker::ResponseHandler, Tanker::Request;