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 ?