From 9c8baf8bf2527c4a430ca9eb15958968353683c0 Mon Sep 17 00:00:00 2001 From: jonte Date: Wed, 2 Feb 2011 11:27:19 -0800 Subject: [PATCH] Updated Protocol draft 2.0 (markdown) --- Protocol-draft-2.0.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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