get_hyperliquid_ws_url

Function get_hyperliquid_ws_url 

Source
pub fn get_hyperliquid_ws_url(is_testnet: bool) -> String
Expand description

Get the WebSocket URL for Hyperliquid API.

§Arguments

  • is_testnet - Whether to use the testnet URL.

§Returns

The WebSocket URL string.