summaryrefslogtreecommitdiffstats
path: root/docs/GAMES.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/GAMES.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/GAMES.md b/docs/GAMES.md
index bd372b1..6f6d197 100644
--- a/docs/GAMES.md
+++ b/docs/GAMES.md
@@ -182,6 +182,20 @@ database.
182 182
183## Wire protocol 183## Wire protocol
184 184
185The first line after the TLS handshake is always the version handshake:
186
187```
188HELLO <version>
189HELLO <version> latest=<version> url=<download-url>
190```
191
192Client and server must share MAJOR.MINOR; only the patch component may differ.
193Until the handshake succeeds the server answers every other message with
194`ERROR HELLO required`, and the client sends no credentials. A mismatch answers
195`ERROR Version mismatch: ...` and the client disconnects. `latest` and `url`
196drive the "newer version available" notice. The server reads `DOWNLOAD_URL`
197from its environment, falling back to the public site.
198
185Slots keeps its original exchange: 199Slots keeps its original exchange:
186 200
187``` 201```