Closed hschneider closed 9 months ago
Just wanted to add that there are also websocket URLs like
ws://subdomain.domain.tld/api/v1:8080?param1=value1¶m2=value2 ....
So subdomain and URL paths should be supported too.
-- Harald
Hi @hschneider I'm glad you like message-io
😃
I think the feature you request is already done specifying the connection as RemoteAddr::Str(url)
, where you can specify the URL you want. Have you tried that?
You're the best :-)
let (server, _) = handler.network().connect(Transport::Ws, RemoteAddr::Str("ws://127.0.0.1:8080?test=1".to_string())).unwrap();
did the trick. Perfect!
At first thanks for this awesome crate :-)
As far as I can see, a WS url has this format:
But some servers require more complex urls like
This is often used to submit auth tokens etc. Would be great to have this feature, too.
Thank you very much, Harald