diff --git a/Protocol-draft-2.0.md b/Protocol-draft-2.0.md index 82e6ab7..18c710d 100644 --- a/Protocol-draft-2.0.md +++ b/Protocol-draft-2.0.md @@ -1,4 +1,4 @@ -The 2.0 specification is quite different from the old one. This one is based on a stable and mature protocol; HTTP. We will borrow certain elements from the protocol, with main focus on HTTP's POST style. Below is a typical POST message in HTTP. +The 2.0 specification is quite different from the old one. This one is based on a stable and mature protocol; HTTP. We will borrow certain elements from the protocol, with main focus on HTTP's POST style. Here is a link: http://www.jmarshall.com/easy/http/#http1.1c1 Below is a typical POST message in HTTP. POST /path/script.cgi HTTP/1.0 From: frog@jmarshall.com @@ -14,4 +14,9 @@ Our protocol looks like the following: Content-Type: text Content-Length: 40 - function helloWorld(x) {return x + 2 ;} \ No newline at end of file + function helloWorld(x) {return x + 2 ;} + +The following commands are to be supported: +define: defines new javascript +run: runs existing javascript +hello: request a new ID \ No newline at end of file