diff options
| author | makefu <github@syntax-fehler.de> | 2011-09-16 17:01:58 +0200 | 
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2011-09-16 17:01:58 +0200 | 
| commit | acb0a4f7ac74203d8d3a73ccf7c1e4421f1c2d5f (patch) | |
| tree | c6ebfaf891afa7de490e99c0f3a409fae396a746 /UDP | |
| parent | bac8559a60a831f740ff4107f1c29bf679fd27b5 (diff) | |
REAKTOR/UDP: add Specs
Diffstat (limited to 'UDP')
| -rw-r--r-- | UDP/README | 40 | 
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" +    } +  } | 
