hitbtc-com / hitbtc-api

HitBTC API
GNU Lesser General Public License v3.0
324 stars 153 forks source link

include "id" in websocket updates and snapshots #129

Closed jrobinson01 closed 6 years ago

jrobinson01 commented 6 years ago

Is it possible to include the id passed to subscription methods in snapshot and update messages? When calling subscribeCandles an id is passed. It would be really useful to have that id included in the subsequent snapshotCandles events.

hitbtc-com commented 6 years ago

http://www.jsonrpc.org/specification#notification A Notification is a Request object without an "id" member. A Request object that is a Notification signifies the Client's lack of interest in the corresponding Response object, and as such no Response object needs to be returned