socketio-class-controllers
Version:
Use class-based controllers to handle websocket events
24 lines (22 loc) • 778 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Controller action's parameter type.
*/
var ParamTypes = /** @class */ (function () {
function ParamTypes() {
}
ParamTypes.CUSTOM = "custom";
ParamTypes.CONNECTED_SOCKET = "connected-socket";
ParamTypes.SOCKET_BODY = "socket-body";
ParamTypes.SOCKET_QUERY_PARAM = "socket-query-param";
ParamTypes.SOCKET_IO = "socket-io";
ParamTypes.SOCKET_ID = "socket-id";
ParamTypes.SOCKET_REQUEST = "socket-request";
ParamTypes.SOCKET_ROOMS = "socket-rooms";
ParamTypes.NAMESPACE_PARAMS = "namespace-params";
ParamTypes.NAMESPACE_PARAM = "namespace-param";
return ParamTypes;
}());
exports.ParamTypes = ParamTypes;
//# sourceMappingURL=ParamTypes.js.map