withAuth method
set ConnectPacket UserName and pwd
Implementation
MqttClient withAuth(String userName, String pwd) {
_connectPacket.withAuth(userName, pwd);
return this;
}
set ConnectPacket UserName and pwd
MqttClient withAuth(String userName, String pwd) {
_connectPacket.withAuth(userName, pwd);
return this;
}