diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-06-12 14:37:12 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-06-12 14:37:12 (GMT) |
commit | bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557 (patch) | |
tree | 5c3e73450534bd8b4279d20f0171dcfb45167786 /test | |
parent | 090016a3f5bcd66d6265fe1504430430f1dee7ed (diff) | |
download | uscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.zip uscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.tar.gz uscxml-bfdd2f8e72005d1e2ef2a87d19d8ac242bb22557.tar.bz2 |
respond element and proper http ioproc
Diffstat (limited to 'test')
-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 |