From db3c04b79263a8b1dd0e867d17bce3491259dad0 Mon Sep 17 00:00:00 2001 From: thevindu-w Date: Sat, 22 Jun 2024 21:45:48 +0530 Subject: [PATCH] Update docs status NO_DATA if getting image/screenshot failed --- docs/proto_v1.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/proto_v1.html b/docs/proto_v1.html index 604e14b..98bcf5e 100644 --- a/docs/proto_v1.html +++ b/docs/proto_v1.html @@ -229,15 +229,17 @@

Get Image/Screenshot

This method is used to get a copied image or a screenshot from the server to the client. If the server device has an image copied to the clipboard, it will be sent. Otherwise, a screenshot of the server device will be sent as an image. The image gets encoded as a PNG image. Once the client requests this method code - from the server and the server acknowledges the client with the status OK, the server will send the image as - follows.
+ from the server, and if the server can get the image, the server acknowledges the client with the status OK. + Then, the server will send the image as follows.
Once the image is transmitted, the communication ends, and the connection can be closed. Note that there is no - file name for the image. The client should create a file name if it needs to save this image as a file. + file name for the image. The client should create a file name if it needs to save this image as a file. If the + server fails to get the image, it will send the status NO_DATA for the client's request instead of the status + OK and terminate the connection without sending any further data.

Info