using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;

namespace Elsa.Activities.Http.Services
{
    public interface IHttpResponseContentReader
    {
        string Name { get; }
        int Priority { get; }
        bool GetSupportsContentType(string contentType);
        Task<object> ReadAsync(SendHttpRequest activity, HttpResponseMessage response, CancellationToken cancellationToken);
    }
}