diff options
Diffstat (limited to 'test/w3c/manual')
-rw-r--r-- | test/w3c/manual/test-http.scxml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/w3c/manual/test-http.scxml b/test/w3c/manual/test-http.scxml new file mode 100644 index 0000000..2a18141 --- /dev/null +++ b/test/w3c/manual/test-http.scxml @@ -0,0 +1,14 @@ +<scxml version="1.0" datamodel="ecmascript" xmlns="http://www.w3.org/2005/07/scxml" xmlns:conf="http://www.w3.org/2005/scxml-conformance"> + <state id="start"> + <onentry> + <log label="Listening at" expr="_ioprocessors['http']['location']" /> + </onentry> + <state id="loop"> + <transition event="http" target="loop"> + <log expr="_event" /> + <respond status="200" to="_event.origin" /> + </transition> + </state> + </state> + <final id="final" /> +</scxml>
\ No newline at end of file |