Jackett/src/Jackett.Common/Services/Interfaces/IServerService.cs

22 lines
638 B
C#

using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
namespace Jackett.Common.Services.Interfaces
{
public interface IServerService
{
void Initialize();
void Start();
void Stop();
void ReserveUrls(bool doInstall = true);
Uri ConvertToProxyLink(Uri link, string serverUrl, string indexerId, string action = "dl", string file = "t");
string BasePath();
string GetServerUrl(HttpRequest Request);
List<string> notices { get; }
string GetBlackholeDirectory();
string GetApiKey();
bool MonoUserCanRunNetCore();
}
}