diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-10-18 16:22:49 +0200 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-10-18 16:23:56 +0200 |
commit | 3da281f531e9db1433ae2b4792a1840ca55b06bf (patch) | |
tree | a21e806475789fa38d14f0c3274655c85a42a320 /src/cynagora-protocol.txt | |
parent | 5cb824d4aca7fea9ed58325933e1eb4f1afcb9b3 (diff) |
Enforce ID on check/test queries
Change-Id: Ibdb7454657bcdc0a0874f05e065551de80b9bd4f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/cynagora-protocol.txt')
-rw-r--r-- | src/cynagora-protocol.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/cynagora-protocol.txt b/src/cynagora-protocol.txt index 2afd43b..ebefde8 100644 --- a/src/cynagora-protocol.txt +++ b/src/cynagora-protocol.txt @@ -11,7 +11,7 @@ Introduction - EXPIRE: if missing, means forever if positive, a number of second since EPOCH, invalid after it - CACHEID: a 32 bits positive integer - - ASKID: a 32 bits positive integer + - ID: a string Messages -------- @@ -21,7 +21,7 @@ Messages synopsis: c->s cynagora 1 - s->c yes 1 CACHEID + s->c done 1 CACHEID The client present itself with the version of the protocol it expects to speak (today version 1 only). The server answer yes with the acknoledged @@ -46,8 +46,8 @@ identifier is CACHEID synopsis: - c->s test CLIENT SESSION USER PERMISSION - s->c (done|yes|no) [EXPIRE] + c->s test ID CLIENT SESSION USER PERMISSION + s->c (ack|yes|no) ID [EXPIRE] @@ -55,8 +55,8 @@ synopsis: synopsis: - c->s check CLIENT SESSION USER PERMISSION - s->c (yes|no) [EXPIRE] + c->s check ID CLIENT SESSION USER PERMISSION + s->c (yes|no) ID [EXPIRE] @@ -122,8 +122,8 @@ synopsis: synopsis: - c->s sub ASKID (test|check) CLIENT SESSION USER PERMISSION - s->c reply ASKID (done|yes|no) [EXPIRE] + c->s sub ASKID (test|check) ID CLIENT SESSION USER PERMISSION + s->c (ack|yes|no) ID [EXPIRE] Notes ----- |