def send(self, data, stream):
        if len(data) > MAX_RPAYLOAD_LEN:
            msg = ("Data cannot be longer than {}. len(data) == {}."
                   .format(MAX_RPAYLOAD_LEN, len(data)))
            raise ValueError(msg)
        self._write_queue.put((data, stream.stream_id))
Put a tuple of (data, stream_id) on this circuit's write_queue.
dataset/ETHPy150Open nskinkel/oppy/oppy/circuit/circuit.py/Circuit.send