Files
duplicati/Duplicati/WebserverCore/Abstractions/ICommandlineRunService.cs
T
Kenneth Skovhede 9f79025744 Removed HttpServer.
Re-implemented everything using ASP.NET.
Changed some requests to use JSON instead of FORM data.
Some work towards deleting the FIXMEGlobal instance.
Auth is missing, XSRF does not work correctly.
2024-06-07 15:56:43 +02:00

25 lines
478 B
C#

namespace Duplicati.WebserverCore.Abstractions;
public interface ICommandlineRunService
{
public IActiveRun? GetActiveRun(string id);
string StartTask(string[] args);
public interface IActiveRun
{
string ID { get; }
DateTime LastAccess { get; }
object Lock { get; }
bool Finished { get; }
bool Started { get; }
bool IsLogDisposed { get; }
IEnumerable<string> GetLog();
void Abort();
}
}