Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to specify a non-standard port? #229

Open
dns2utf8-novaziun opened this issue Jun 3, 2024 · 1 comment
Open

How to specify a non-standard port? #229

dns2utf8-novaziun opened this issue Jun 3, 2024 · 1 comment

Comments

@dns2utf8-novaziun
Copy link

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

@fpagliughi
Copy link
Contributor

fpagliughi commented Feb 19, 2025

Whichever way we accept the URI, it would still need to make a string to pass to the lower-level libraries. So maybe we can add the url type to accept server information more easily, but if you can't connect with the correct string form, then there's something else wrong that you need to solve.

What transport are you using? TCP, TLS, WebSocket? How are you forming the URI?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants