mirror of https://github.com/Jackett/Jackett
22 lines
638 B
C#
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();
|
|
}
|
|
}
|