diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-13 10:19:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-13 10:19:24 (GMT) |
commit | b3a2d91805feb81f79ee52c30a077521912b0bf9 (patch) | |
tree | 8b57e9244576eaa1c721df44899009f3b8d10f05 /test/w3c/manual/test-http.scxml | |
parent | 4b861a6af4eec8a58d3515e871ccdadd44a182fd (diff) | |
parent | a43c42980727e0376c6bfa44576a54e6d3c26687 (diff) | |
download | uscxml-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/manual/test-http.scxml')
-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 |