def write_message(self, message, binary=False):
        if binary:
            opcode = 0x2
        else:
            opcode = 0x1
        message = tornado.escape.utf8(message)
        assert isinstance(message, bytes_type)
        self._write_frame(True, opcode, message)
Sends the given message to the client of this Web Socket.
dataset/ETHPy150Open jbalogh/tornado-websocket-client/websocket.py/WebSocket.write_message