summaryrefslogtreecommitdiffstats
path: root/test/w3c/manual/test-http.scxml
blob: 2a181414a76c4d0888f227759c07dae3f90e95dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>