MQTT.ts
MQTT.ts copied to clipboard
Support TLS client certificate
Very important change to establish secure TLS connection with MQTT broker.
I don't see these options in the docs: https://doc.deno.land/builtin/stable#Deno.ConnectTlsOptions
Does it require a newer version of Deno than is currently released?
Please look: https://github.com/denoland/deno/issues/12372#issuecomment-938520872
It doesn't make sense to depend on an unstable api in a library unless the user opts in explicitly somehow. I'd recommend a separate UnstableDenoClient
for this that can track unstable Deno APIs.