You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… not String.
As per MQTT spec.
Fixes00imvj00#10
Breaking change.
Along with the type change, code was reorganized a bit, in particular 'use' statements and moving
read functions from utils to encoder, matching the write functions' location.
Cf http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#_Toc398718031 :
The Password field contains 0 to 65535 bytes of binary data
(as opposed to most other fields likeusername
which areUTF-8 encoded string
s.I don't actually use passwords myself, but I spotted this while checking the spec against my implementation.
Obviously this would be an API-breaking change.
The text was updated successfully, but these errors were encountered: