Skip to main content

load_server_endpoint

Function load_server_endpoint 

pub async fn load_server_endpoint<R>(
    account_manager: &AccountManager<R, R>,
    cid: u64,
) -> Result<Option<WebSocketEndpoint>, NetworkError>
where R: Ratchet,
Expand description

The WebSocket URL the account cid registered to, or None for an account whose server is its address.