authored by Stef's avatar Stef
...@@ -39,6 +39,8 @@ Various other operations can use the following kind of message (see link:queries ...@@ -39,6 +39,8 @@ Various other operations can use the following kind of message (see link:queries
Send a new post that the client doesn’t have yet. At first application loading, existing posts in the backend are sent individually with this type of message : Send a new post that the client doesn’t have yet. At first application loading, existing posts in the backend are sent individually with this type of message :
P:<postID>^@<time>^@<info>^@<login>^@<message> P:<postID>^@<time>^@<info>^@<login>^@<message>
When receiving one of this message, the client add the post in the HTML ordered list displayed to the user.
=== Set cookie === Set cookie
...@@ -64,7 +66,7 @@ Additional fields may be added in the future. ...@@ -64,7 +66,7 @@ Additional fields may be added in the future.
=== Reply to a query === Reply to a query
The following type of message is sent back as a reply to a "query" message (Q:) The following type of message is sent back as a reply to a "query" message (Q:) (see link:queries[Queries])
R:<username>^@<queryID>^@<commande>^@<record1>^@<record2>…^@<recordN> R:<username>^@<queryID>^@<commande>^@<record1>^@<record2>…^@<recordN>
... ...
......