July 2017
Intermediate to advanced
434 pages
12h 59m
English
Specify event types to listen for. Note that this is not a filter out, but rather a "filter in," that is, when a filter is applied only the filtered values are received. Multiple filters on a socket connection are allowed.
Usage:
filter <EventHeader><ValueToFilter>
Example:
The following example will subscribe to all events and then create two filters, one to listen for HEARTBEATS and one to listen for CHANNEL_EXECUTE events:
events plain all filter Event-Name CHANNEL_EXECUTE filter Event-Name HEARTBEAT
Now only HEARTBEAT and CHANNEL_EXECUTE events will be received. You can filter on any of the event headers. To filter for a specific channel you will need to use the uuid:
filter Unique-ID d29a070f-40ff-43d8-8b9d-d369b2389dfe ...
Read now
Unlock full access