/// <summary> /// Get the current server status, as reported by Ubisoft's site (https://rainbow6.ubisoft.com/status/) /// </summary> /// <param name="client">The <see cref="ApiClient"/> to use</param> public static IEnumerable <ServerStatusReport> GetServerStatus(this ApiClient client) { var request = new ServerStatusRequest(); return(client.Perform <IEnumerable <ServerStatusReport> >(request)); }
public override Task <ServerStatusReply> Status(ServerStatusRequest request, ServerCallContext context) { return(Task.FromResult(PrintStatus())); }
/// <summary> /// Get the current server status, as reported by Ubisoft's site (https://rainbow6.ubisoft.com/status/) /// </summary> public static IEnumerable <ServerStatusReport> GetServerStatus(this ApiClient client, CancellationToken token = default) { var request = new ServerStatusRequest(); return(client.Perform <IEnumerable <ServerStatusReport> >(request, token)); }
public object Get(ServerStatusRequest request) { return(GetServiceStatus().Result); }