From 8345fc1af3510a0f566600f140bfb45b003823b4 Mon Sep 17 00:00:00 2001 From: hippoz Date: Tue, 16 Mar 2021 01:52:43 +0200 Subject: [PATCH] Update 'resources/Docs/DOCS.md' --- resources/Docs/DOCS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/Docs/DOCS.md b/resources/Docs/DOCS.md index 11664be..29a4736 100644 --- a/resources/Docs/DOCS.md +++ b/resources/Docs/DOCS.md @@ -47,7 +47,7 @@ JSON data format: | Field | Description | | - | - | | token | The authentication token | -| client | The name of the application the client is connecting from (e.g. browser_react_app) | +| client | The name of the application the client is connecting from (see below) | Example: ```json @@ -56,6 +56,8 @@ Example: If the token is invalid, or the connection is otherwise rejected, the client should be disconnected as soon as possible, and no YOO\_ACK should be sent. +It is suggested that the field "client" is send in the format of "(operating system)/(user agent vendor)/(user agent)/(optional full user agent string)", example: "Linux/Mozilla/Firefox/some firefox useragent string idk" + ## 2:YOO\_ACK *Part of handshake, Server to client*