2018-12-27 23:27:57 +00:00
|
|
|
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<HttpResponseInfo> GetImageResponse(string url, CancellationToken cancellationToken);
|
|
|
|
}
|
2019-01-13 19:30:58 +00:00
|
|
|
}
|