UNPKG

unifi-client

Version:

NodeJs client for Unifi products (https://www.ui.com/)

22 lines (21 loc) 713 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EControllerEvents = void 0; var EControllerEvents; (function (EControllerEvents) { EControllerEvents["CONNECTION"] = "ctrl.connect"; EControllerEvents["RECONNECTION"] = "ctrl.reconnect"; /** * close of the connection, will try a reconnection */ EControllerEvents["CLOSE"] = "ctrl.close"; EControllerEvents["PONG"] = "pong"; /** * will try a reconnection */ EControllerEvents["ERROR"] = "ctrl.error"; /** * will not reconnect */ EControllerEvents["FATAL_ERROR"] = "ctrl.fatal_error"; })(EControllerEvents || (exports.EControllerEvents = EControllerEvents = {}));