@cyberspace-dev/sdk
Version:
Cyberspace - Online Competition For Coders
16 lines (15 loc) • 432 B
TypeScript
export declare enum SocketEvent {
CONNECTION = "connection",
CONNECT = "connect",
RECONNECT = "reconnect",
MESSAGE = "message",
CONNECT_ERROR = "connect_error",
CONNECT_TIMEOUT = "connect_timeout",
ERROR = "error",
DISCONNECT = "disconnect",
RECONNECT_ERROR = "reconnect_error",
RECONNECT_FAILED = "reconnect_failed",
DISPOSE = "dispose",
SIGNAL = "SIGNAL",
UPGRADE = "UPGRADE"
}