isOpen method

bool isOpen()

Implementation

bool isOpen() {
  return webSocketChannel.closeCode == null;
}