This repository has been archived by the owner on May 18, 2024. It is now read-only.
Websocket API: Map responses to requests #1670
fabiocaruso
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, it seems that there is no way for the client side to determine to which request a response belongs. If the client sends two consecutive requests of the same type and the second request is processed faster than the first, the response of the second request is sent first, and the client needs to assume it's the result of the first request even though it's the result of the second. It would be great if there is some sort of id field, that uniquely identify a requests/responses. This can be done using JSON RPC like described here.
Beta Was this translation helpful? Give feedback.
All reactions