Function getMasterSrvData

  • Makes a request to the master server using makeMasterRequest and parses the data.

    Parameters

    • OptionalmasterSrv: string

      Master server url to use.

      "https://master1.ddnet.org/ddnet/15/servers.json"
      

    Returns Promise<
        {
            servers: { addresses: string[]; info?: unknown; location?: string }[];
        },
    >