sonarr-repo-only/NzbDrone.Core/Providers/Core/IHttpProvider.cs

13 lines
436 B
C#
Raw Normal View History

2011-04-05 05:30:13 +00:00
using System.Xml;
namespace NzbDrone.Core.Providers.Core
{
public interface IHttpProvider
{
2010-09-28 05:01:54 +00:00
string DownloadString(string request);
string DownloadString(string request, string username, string password);
2011-04-05 05:30:13 +00:00
void DownloadFile(string request, string filename);
void DownloadFile(string request, string filename, string username, string password);
XmlReader DownloadXml(string url);
}
2010-09-28 05:58:49 +00:00
}