WebSocketConsoleCommandModule
A class in Root.Township, Alta.Console.
Console module websocket: lets a websocket console client list and subscribe to console events.
- Listed in Console, logging and analytics
- Attributes
Module
Constructors
| Member | What it is |
|---|---|
WebSocketConsoleCommandModule() | Creates a WebSocketConsoleCommandModule with default values. |
Methods
| Member | What it is |
|---|---|
static WebSocketCommandHandler.SubscriptionResult Subscribe(string eventType) | websocket subscribe: subscribes the calling websocket to an event type. Throws if not called over websocket. |
static IEnumerable<IConsoleEvent> Subscriptions() | websocket subscriptions: lists all registered console events. |
static WebSocketCommandHandler.SubscriptionResult Unsubscribe(string eventType) | websocket unsubscribe: unsubscribes the calling websocket from an event type. Throws if not called over websocket. |