Report RPC id
in follow up subscription reports too [XRPL+Xahau]
#291
Labels
feature
Feature Request
id
in follow up subscription reports too [XRPL+Xahau]
#291
When you send an
id
in RPC commands, the repsonse contains the sameid
. Super useful because this way in middleware and as a client you know it's the reponse at whatever you flagged with theid
.If you start a subscription (e.g. pathfinding, ledger stream, ...) this
id
is lost in the subsequent subscription messages.If you cater multiple clients from one piece of software, this makes it impossible to know which client to route the subscription message to.
Proposal:
id
that was used to start the subscription in the subsequent subscription messagesid
(right now one has to specify the entire subscribe command as an unsubscribe, e.g.streams: ledger, accounts: [...]
while if already reporting anid
, one can immediately cancel out that entire subscription based on thatid
.It would be most useful for all XRPL protocol networks, so this should be isolated as a change and PRred into rippled too.
The text was updated successfully, but these errors were encountered: