WebSocket notification is more useful than documentation tells

WebSocket notification is more useful than documentation tells

Groucho MarxGroucho Marx Posts: 8Member

I started fooling around with websocket notification and changed volume as a first try.

WebSocket received message:



37
37
false


which is quite convenient as compared to the docs, where you are told to retrieve the current data using REST API.
Hopefully other notifications are equally useful :-)

btw. for the ones who care about java:
I used a java client and needed some guesswork when setting up subprotocol 'gabbo' (you need a ClientEndpointConfig), this seems easy in JS.
Once I ran into an error telling me that I have to setup MessageHandler.Partial because of the amount of data transferred (at nowPlayingUpdated).

Comments

Sign In or Register to comment.