I am using Retrofit 2.4.0 to send requests to a server. But sometimes server blocking my request if it has a similar timestamp in milliseconds with another request. I need to send request one at a time:
- Request A is sent
- Request B waits until the response for Request A received
- Request A completes with success or error
- Request B is sent
Is it possible to create such queue with Retrofit and OkHttp libraries?