def manager_ws_uri
    # convert manager uri to websocket
    uri = URI.parse(manager_uri)
    uri.scheme = (uri.scheme == "https" ? "wss" : "ws")
    uri.path = "/wsapi"
    return uri.to_s
  end
def manager_ws_uri
    # convert manager uri to websocket
    uri = URI.parse(manager_uri)
    uri.scheme = (uri.scheme == "https" ? "wss" : "ws")
    uri.path = "/wsapi"
    return uri.to_s
  end
Get the WebSocket API URI

 @return [String] uri