This is an old revision of the document!
HTTP WebSockets Interface
Command Interface
The WebSocket command interface is based on a tag system.
The format of a command is:
$tag COMMAND [optional=parameters, ...]
URI's and Commands
Once a connection is upgraded to a websocket, the following text based commands are available.
/statistics/graphdata
The graphdata URI allows streaming and retrieval of statistics over a single websockets connection.
Command: subscribe
Syntax: subscribe <tag> pool=<InterfaceGroupID:PoolName>
Syntax: subscribe <tag> class=<InterfaceGroupID:ClassID>
Syntax: subscribe <tag> basic=<BasicStatName>
Command: unsubscribe
Syntax: unsubscribe <tag>