Closed wyne1986 closed 6 years ago
Thank you for your pr. But I think it's better to use $option['ssl'] to enable/disable the SSL. I added ssl support and enable ssl like this.
$option['ssl']
$mqtt = new Workerman\Mqtt\Client('mqtt://127.0.0.1:1883', ['ssl' => true]);
Thank you for your pr. But I think it's better to use
$option['ssl']
to enable/disable the SSL. I added ssl support and enable ssl like this.