Skip to main content

http_base_from_ws_url

Function http_base_from_ws_url 

Source
pub fn http_base_from_ws_url(ws_url: &str) -> String
Expand description

Derive an HTTP base URL from a WebSocket URL. wss://host:port/pathhttps://host:port