1Web::Machine::FSM(3)  User Contributed Perl Documentation Web::Machine::FSM(3)
2
3
4

NAME

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

VERSION

9       version 0.17
10

SYNOPSIS

12         use Web::Machine::FSM;
13

DESCRIPTION

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

METHODS

20       "new ( %params )"
21           This accepts two %params, the first is a boolean to indicate if you
22           should turn on tracing or not, and the second is optional name of
23           the HTTP header in which to place the tracing information.
24
25       "tracing"
26           Are we tracing or not?
27
28       "tracing_header"
29           Accessor for the HTTP header name to store tracing data in.  This
30           default to "X-Web-Machine-Trace".
31
32       "run ( $resource )"
33           Given a Web::Machine::Resource instance, this will execute the
34           state machine.
35

SEE ALSO

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

SUPPORT

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

AUTHORS

45       •   Stevan Little <stevan@cpan.org>
46
47       •   Dave Rolsky <autarch@urth.org>
48
50       This software is copyright (c) 2016 by Infinity Interactive, Inc.
51
52       This is free software; you can redistribute it and/or modify it under
53       the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.38.0                      2023-07-21              Web::Machine::FSM(3)
Impressum