Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3663

How to decide timeout for the REST API [closed]

$
0
0

I have a rest api in which I want to setup a timeout error. This error will come on the basis of timestamp. The current timestamp will be generated on client & sent to server. On server, current timestamp will be generated & compare with the timestamp that is sent by the client. Now at what difference should I consider a timeout as different clients can generate different inputs for timestamps?

Is there any standard method for this ?


Viewing all articles
Browse latest Browse all 3663

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>