mirror of https://github.com/Sonarr/Sonarr
13 lines
436 B
C#
13 lines
436 B
C#
using System.Xml;
|
|
|
|
namespace NzbDrone.Core.Providers.Core
|
|
{
|
|
public interface IHttpProvider
|
|
{
|
|
string DownloadString(string request);
|
|
string DownloadString(string request, string username, string password);
|
|
void DownloadFile(string request, string filename);
|
|
void DownloadFile(string request, string filename, string username, string password);
|
|
XmlReader DownloadXml(string url);
|
|
}
|
|
} |