Skip to content

Commit

Permalink
Merge branch 'main' into #1674
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Aug 29, 2023
2 parents c213738 + 57f4595 commit 2d17b2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,8 @@ Async [`connect`](#connect). Returns a `Promise` that resolves to a `mqtt.Client

The `Client` class wraps a client connection to an
MQTT broker over an arbitrary transport method (TCP, TLS,
WebSocket, ecc).
WebSocket, ecc).
`Client` is an [EventEmitter](https://nodejs.dev/en/learn/the-nodejs-event-emitter/) that has it's own [events](#events)

`Client` automatically handles the following:

Expand Down Expand Up @@ -446,6 +447,8 @@ If you are connecting to a broker that supports only MQTT 3.1 (not
This is confirmed on RabbitMQ 3.2.4, and on Mosquitto < 1.3. Mosquitto
version 1.3 and 1.4 works fine without those.

<a name="events"></a>

#### Event `'connect'`

`function (connack) {}`
Expand Down

0 comments on commit 2d17b2d

Please sign in to comment.