River documentation

River documentation

  • Documentation
  • Blog

›Client Optimization

User Authorization

  • User Authorization

Error Handling

  • Error Handling

PUSH-notifications

  • Handling PUSH-notifications

Handling Updates

  • Handling Updates

Pagination

  • Pagination

Message Drafts

  • Message Drafts

Encryption

  • Encryption

API methods

  • Available method list

Client Optimization

  • Client Optimization

Uploading and Downloading

  • Uploading and Downloading

Client Optimization

Server Salt

An int 64 is added to each message to optimization purposes, called Server Salt. Its lifespan is considered one hour by River team, which the server will not accept the message out of this period and return an error for this invalid message. Also, a safety margin of about two minutes is estimated to accept a message by the server.

The SystemSalts method is defined that fetches a list of the salts in advance. In addition, the start time and duration are designated for each salt which is shown below:

SystemSalts  
{ 
    Salts int64  array
    StartsFrom int64
    Duration int64 
}
← Available method listUploading and Downloading →
  • Server Salt
Copyright © 2020 RonakSoftwareGroup