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

NAME

AxKit2::Constants - Constants for plugins to use

HOOK CONSTANTS

See AxKit2::Plugin for hook specific information on applicable constants.

Constants available:

DECLINED

Returning this from a hook implies success, but tells axkit to go on to the next plugin.

OK

Returning this from a hook implies success, but tells axkit to skip any more plugins for this phase.

DONE

DONE is generally hook specific, see "AVAILABLE HOOKS" in AxKit2::Plugin for details.

You can, in most hooks, return any of the HTTP response codes below.

HTTP RESPONSE CONSTANTS

        OK                     => 200,
        NO_CONTENT             => 204,
        PARTIAL_CONTENT        => 206,
        REDIRECT               => 302,
        NOT_MODIFIED           => 304,
        BAD_REQUEST            => 400,
        UNAUTHORIZED           => 401,
        FORBIDDEN              => 403,
        NOT_FOUND              => 404,
        SERVER_ERROR           => 500,
        NOT_IMPLEMENTED        => 501,
        SERVICE_UNAVAILABLE    => 503,

LOGGING CONSTANTS

The following log level constants are also available:

        LOGDEBUG   => 7,
        LOGINFO    => 6,
        LOGNOTICE  => 5,
        LOGWARN    => 4,
        LOGERROR   => 3,
        LOGCRIT    => 2,
        LOGALERT   => 1,
        LOGEMERG   => 0,