node-cq-websocket

A Node SDK for developing QQ chatbots based on WebSocket, which is depending on CoolQ and CQHTTP API plugin.

View project on GitHub

WebSocketState

enum WebSocketState {
  DISABLED   = -1,
  INIT       =  0,
  CONNECTING =  1,
  CONNECTED  =  2,
  CLOSING    =  3,
  CLOSED     =  4
}