canSend property

bool get canSend

是否当前可发送(UI 可用此禁用发送按钮)

Implementation

bool get canSend => _net.isOnline && _net.ws.isConnected;