def sendMessage(self, data):
      opcode = BINARY
      if isinstance(data, unicode):
         opcode = TEXT
      self._sendMessage(False, opcode, data)
Send websocket data frame to the client.
dataset/ETHPy150Open donothingloop/rtl_heatmap/server/SimpleWebSocketServer.py/WebSocket.sendMessage