Aurora.Services.WebAPIConnector.AllowAPICall C# (CSharp) Метод

AllowAPICall() публичный Метод

public AllowAPICall ( UUID user, string method ) : bool
user UUID
method string
Результат bool
        public bool AllowAPICall(UUID user, string method)
        {
            uint? rateLimit = GetRateLimit(user, method);
            return rateLimit.HasValue && (rateLimit.Value > 0 ? GetUsageRate(user, method) <= rateLimit.Value : true);
        }