Skip to main content

get_ws_private_base_url

Function get_ws_private_base_url 

Source
pub fn get_ws_private_base_url(
    product_type: BinanceProductType,
    environment: BinanceEnvironment,
) -> &'static str
Expand description

Returns the WebSocket private stream base URL for user data.

USD-M mainnet uses the dedicated private endpoint. All other product types and environments fall back to get_ws_base_url.