jellyfin/MediaBrowser.Controller/Providers/IRemoteSearchProvider.cs

21 lines
625 B
C#
Raw Normal View History

#pragma warning disable CS1591
2020-08-17 12:10:02 -07:00
using System.Net.Http;
2018-12-27 16:27:57 -07: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>
2020-08-17 12:10:02 -07:00
Task<HttpResponseMessage> GetImageResponse(string url, CancellationToken cancellationToken);
2018-12-27 16:27:57 -07:00
}
}