Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando authored Jun 12, 2024
2 parents 35ad473 + 8d5936e commit 6b95cc3
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 @@ -897,8 +897,11 @@ const client = connect('mqtt://test.mosquitto.org')
Supports [WeChat Mini Program](https://mp.weixin.qq.com/). Use the `wxs` protocol. See [the WeChat docs](https://mp.weixin.qq.com/debug/wxadoc/dev/api/network-socket.html).

```js
import 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only' // import before mqtt.
const mqtt = require("mqtt");
const client = mqtt.connect("wxs://test.mosquitto.org");
const client = mqtt.connect("wxs://test.mosquitto.org", {
timerVariant: 'native' // more info ref issue: #1797
});
```

### Ali Mini Program
Expand Down

0 comments on commit 6b95cc3

Please sign in to comment.