提交 7953482c 编写于 作者: R Roger Light

Removed ancient Mosquitto compatibility class.

上级 0eb5e1f1
......@@ -28,6 +28,7 @@ v1.6.0 - 2021-xx-xx
SSL. Closes #571,
- Fix connecting with MQTT v5 to a broker that doesn't support MQTT v5.
Closes #566.
- Removed ancient Mosquitto compatibility class.
v1.5.1 - 2020-09-22
......
......@@ -3652,12 +3652,6 @@ class Client(object):
return socket.create_connection(addr, timeout=self._connect_timeout, source_address=source)
# Compatibility class for easy porting from mosquitto.py.
class Mosquitto(Client):
def __init__(self, client_id="", clean_session=True, userdata=None):
super(Mosquitto, self).__init__(client_id, clean_session, userdata)
class WebsocketWrapper(object):
OPCODE_CONTINUATION = 0x0
OPCODE_TEXT = 0x1
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册