pub fn ws_url_with_token(ws_url: &str, token: &str) -> StringExpand description
Append a ?token= query to a dev websocket URL. Authority-only URLs
(ws://host:port) get an explicit / first so naive authority parsers
(split('/')) never see the query glued to the port.