logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Web::Machine::FSM - The State Machine runner

Authors

       •   Stevan Little <stevan@cpan.org>

       •   Dave Rolsky <autarch@urth.org>

Description

       This is the heart of the Web::Machine, this is the thing which runs the state machine whose states are
       contained in the Web::Machine::FSM::States module.

Methods

       "new ( %params )"
           This  accepts  two  %params, the first is a boolean to indicate if you should turn on tracing or not,
           and the second is optional name of the HTTP header in which to place the tracing information.

       "tracing"
           Are we tracing or not?

       "tracing_header"
           Accessor for the HTTP header name to store tracing data in.  This default to "X-Web-Machine-Trace".

       "run ( $resource )"
           Given a Web::Machine::Resource instance, this will execute the state machine.

Name

       Web::Machine::FSM - The State Machine runner

See Also

       Web Machine state diagram <https://github.com/Webmachine/webmachine/wiki/Diagram>

Support

       bugs may be submitted through <https://github.com/houseabsolute/webmachine-perl/issues>.

Synopsis

         use Web::Machine::FSM;

Version

       version 0.17

See Also