eclipse / paho.mqtt.rust

paho.mqtt.rust
Other
511 stars 102 forks source link

How to specify a non-standard port? #229

Open dns2utf8-novaziun opened 1 month ago

dns2utf8-novaziun commented 1 month ago

Dear all

I tried to give my connection a port information with the CreateOptionsBuilder::new() .server_uri( url ), but it does not connect if I do that. What do you think about accepting a url::Url instead of a String? Then the parsing could be handled outside of the library.

Best, Stefan