提交 a2456565 编写于 作者: 浅梦2013's avatar 浅梦2013

测试接入 websocket。

上级 72b6b14f
......@@ -295,6 +295,15 @@ public class MqttServerCreator {
return this;
}
public int getWsPort() {
return wsPort;
}
public MqttServerCreator wsPort(int wsPort) {
this.wsPort = wsPort;
return this;
}
public MqttServer start() {
Objects.requireNonNull(this.messageListener, "Mqtt Server message listener cannot be null.");
if (this.authHandler == null) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册