jellyfin/MediaBrowser.Controller/Providers/IRemoteSearchProvider.cs
2020-08-17 13:10:02 -06:00

19 lines
593 B
C#

using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using MediaBrowser.Common.Net;
namespace MediaBrowser.Controller.Providers
{
public interface IRemoteSearchProvider : IMetadataProvider
{
/// <summary>
/// Gets the image response.
/// </summary>
/// <param name="url">The URL.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task{HttpResponseInfo}.</returns>
Task<HttpResponseMessage> GetImageResponse(string url, CancellationToken cancellationToken);
}
}