Request | Description | Response | ||
Code | Body | Code | Body | |
1002 | group name; channel name; login; hash of password (sha256); | Authorization | 10 | − |
301 | current hash of password (sha256); new hash of password (sha256); | Password update | 10 | − |
6201 | poll delay (int, max 120); | Pop meta-message | 6303 (none message) | − |
6301 | length of message; UUID; | |||
6302 (signal) | length of message; | |||
6202 | − | Receiving part of message | part of message (max 4096 bytes); ok or error packet; | |
6101 | − | Removing a message | 10 | − |
6102 | UUID; | Removing a message by UUID | 10 | − |
Schematically receiving the message is shown in the image:
Any message is divided into blocks of 4 kilobytes. Then it is block-by-block uploaded to the server or unloaded from it. After sending the block, a confirmation is received about the correct loading of the block or about a loading error.