From 335fdd5ca77105890283f3e5b3ac696e96d54b64 Mon Sep 17 00:00:00 2001 From: thevindu-w Date: Tue, 25 Jun 2024 21:43:45 +0530 Subject: [PATCH] Finalize docs for proto v3 specification --- docs/proto_v3.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/proto_v3.html b/docs/proto_v3.html index 79a79f8..1a2f525 100644 --- a/docs/proto_v3.html +++ b/docs/proto_v3.html @@ -16,7 +16,7 @@ Next (Examples) >
-

Protocol Version 3 (draft)

+

Protocol Version 3

If the client and the server agree on protocol version 3 after Get Files

Since this method supports sending empty leaf directories, their file size is transferred as -1, and the file content is considered empty. All other parameters (name length and name) are sent similarly to regular - files.

+ files. The directory name may optionally end with the path separator '/'.

Similarly to the Get Files method of Version 2, the server starts by sending the number of files and then sends each file sequentially. Once all the files are transmitted, the @@ -133,7 +133,7 @@

Get Image Only

This method is similar to the Get Image/Screenshot method, except that if there is no image copied to the clipboard, the server will not send a screenshot as the image. Instead, the server - will respond with the status NO_DATA and terminate the connection. + will respond with the status NO_DATA to the method request and terminate the connection.

Get Screenshot Only

@@ -141,13 +141,14 @@

Get Screenshot Only

copied to the clipboard, it will send only a screenshot of the server device. The screenshot is encoded as a PNG image. Once the client requests this method code from the server, the server acknowledges the client with the status OK. Then, the client sends the display number from the server, and the server acknowledges - the client with the status OK. Then, the server will send the screenshot. The communication after protocol - version negotiation happens as follows.
+ the client with the status OK if the display number is valid. Then, the server will send the screenshot. The + communication after protocol version negotiation happens as follows.