aboutsummaryrefslogtreecommitdiffstats
path: root/UDP/README
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2011-09-16 17:01:58 +0200
committermakefu <github@syntax-fehler.de>2011-09-16 17:01:58 +0200
commitacb0a4f7ac74203d8d3a73ccf7c1e4421f1c2d5f (patch)
treec6ebfaf891afa7de490e99c0f3a409fae396a746 /UDP/README
parentbac8559a60a831f740ff4107f1c29bf679fd27b5 (diff)
REAKTOR/UDP: add Specs
Diffstat (limited to 'UDP/README')
-rw-r--r--UDP/README40
1 files changed, 40 insertions, 0 deletions
diff --git a/UDP/README b/UDP/README
new file mode 100644
index 0000000..d77ce7f
--- /dev/null
+++ b/UDP/README
@@ -0,0 +1,40 @@
+# Specifications
+From 2011-09-16:
+## Use Case
+ {
+ {
+ "port": 1337,
+ "pattern": "XXYY",
+ "action" : {
+ "POST": {
+ "url" : "xyz",
+ "data" : "abc"
+ }
+ }
+ }
+ }
+## Actions
+### POST
+"POST" : {
+ "url" : "http://euer.krebsco.de/",
+ "data" : "{ \"something\" : \"else\" }"
+ }
+
+### PROCESS
+Process is taken from //hyper/process/test/bc.json - rev:a7fd3f
+
+stdout/stderr are optional and if left away data will be written to real stdout/stderr
+
+ "PROCESS" : {
+ {
+ "path": "/usr/bin/bc",
+ "argv": [
+ "bc"
+ ],
+ "envp": {
+ "was": "geht"
+ },
+ "stdout": "/path/to/file",
+ "stderr": "/path/to/file"
+ }
+ }