gausby / tortoise

A MQTT Client written in Elixir
Apache License 2.0
314 stars 54 forks source link

Coerce the input given to the transports to charlists #66

Closed gausby closed 6 years ago

gausby commented 6 years ago

The transports expect charlists as input for some keys; I think it would improve usability of the transport if it was possible to pass in binaries/stings, and let the init coerce the input to charlists where charlists are expected.

voltone commented 6 years ago

This is definitely needed for the hostname, but it actually looks like :ssl can handle paths as binary strings. Not sure this was always the case...