juliarose / backpacktf-api

Interface for backpack.tf API endpoints
MIT License
3 stars 1 forks source link

websocket: Expose websocket event ID #10

Closed carloslbello closed 7 months ago

carloslbello commented 7 months ago

Exposes websocket event ID to websocket reader. This breaks API compatibility by changing the message type for the websocket channel from Message to (String, Message). Useful for deduplication of events if running multiple instances of an application, or for deriving timestamps from event IDs.

juliarose commented 7 months ago

Much appreciated!