def multipublish(self, topic, messages):
        if self.is_connected:
            return self.multipublish_tcp(topic, messages)
        else:
            return self.multipublish_http(topic, messages)
Publish an iterable of messages in one roundtrip.
dataset/ETHPy150Open wtolson/gnsq/gnsq/nsqd.py/Nsqd.multipublish