This is an old revision of the document!


HTTP WebSockets Interface

The WebSocket command interface is based on a tag system.

The format of a command is:

$tag COMMAND [optional=parameters, ...]

Once a connection is upgraded to a websocket, the following text based commands are available.

The graphdata URI allows streaming and retrieval of statistics over a single websockets connection.

Syntax: subscribe <tag> pool=<InterfaceGroupID:PoolName>

Syntax: subscribe <tag> class=<InterfaceGroupID:ClassID>

Syntax: subscribe <tag> basic=<BasicStatName>

Syntax: unsubscribe <tag>