public static Task RunRawClients(int clientCount, string applicationName, string baseUrl) { var tasks = new List <Task>(clientCount); for (int i = 0; i < tasks.Capacity; i++) { tasks.Add(RawMiniMqClientHttpClient.CallAsync(baseUrl, applicationName)); } return(Task.WhenAll(tasks)); }
private static Task RunRawClients(string baseUrl, string applicationName, int clientCount) { return(RawMiniMqClientHttpClient.RunRawClients(clientCount, applicationName, baseUrl)); }