mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-23 15:30:34 -04:00
* Refactored Stats code to be much cleaner and user better naming. * Cleaned up the actual http code to use Flurl and to return if the upload was successful or not so we can delete the file where appropriate. * More refactoring for the stats code to clean it up and keep it consistent with our standards. * Removed a confusing log statement * Added support for old api key header from original stat server * Use the correct endpoint, not the new one. * Code smell
12 lines
222 B
C#
12 lines
222 B
C#
using System.Threading.Tasks;
|
|
using API.DTOs.Stats;
|
|
|
|
namespace API.Interfaces.Services
|
|
{
|
|
public interface IStatsService
|
|
{
|
|
Task RecordClientInfo(ClientInfoDto clientInfoDto);
|
|
Task Send();
|
|
}
|
|
}
|