File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11# php-mqtt-client
22MQTT 3.1.1 Client with TSL support in PHP
33
4+ Note that all calls are blocking until a timeout occurs. If you need some fancy async solution, you'll have to find another repo.
5+
46# Installation
57
68The preferred way to install this extension is through [ composer] ( http://getcomposer.org/download/ ) .
@@ -26,7 +28,7 @@ Not tested on PHP v7, please report back!
2628# Basic Usage
2729
2830 $client = new MQTTClient('mqtt-server.domain.com', 8162);
29- $client->setAuthentication'mqtt-server.username','mqtt-server.password');
31+ $client->setAuthentication( 'mqtt-server.username','mqtt-server.password');
3032 $client->setEncryption('cacerts.pem');
3133 $success = $client->sendConnect(12345); // set your client ID
3234 if ($success) {
You can’t perform that action at this time.
0 commit comments