summaryrefslogtreecommitdiffstats
path: root/test/w3c
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2017-06-13 10:19:24 (GMT)
committerGitHub <noreply@github.com>2017-06-13 10:19:24 (GMT)
commitb3a2d91805feb81f79ee52c30a077521912b0bf9 (patch)
tree8b57e9244576eaa1c721df44899009f3b8d10f05 /test/w3c
parent4b861a6af4eec8a58d3515e871ccdadd44a182fd (diff)
parenta43c42980727e0376c6bfa44576a54e6d3c26687 (diff)
downloaduscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.zip
uscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.tar.gz
uscxml-b3a2d91805feb81f79ee52c30a077521912b0bf9.tar.bz2
Merge pull request #146 from tklab-tud/sradomski
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