IScriptingService
Defines the API of an available engine for running scripts provided in
the code.
using AngleSharp.Io;
using System.Threading;
using System.Threading.Tasks;
namespace AngleSharp.Scripting
{
public interface IScriptingService
{
bool SupportsType(string mimeType);
Task EvaluateScriptAsync(IResponse response, ScriptOptions options, CancellationToken cancel);
}
}