summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-06-12 14:37:12 (GMT)
committerStefan Radomski <github@mintwerk.de>2017-06-12 14:37:12 (GMT)
commitbfdd2f8e72005d1e2ef2a87d19d8ac242bb22557 (patch)
tree5c3e73450534bd8b4279d20f0171dcfb45167786 /test/w3c
parent090016a3f5bcd66d6265fe1504430430f1dee7ed (diff)
downloaduscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.zip
uscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.tar.gz
uscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.tar.bz2
respond element and proper http ioproc
Diffstat (limited to 'test/w3c')
-rw-r--r--test/w3c/manual/test-http.scxml14
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