2011-04-05 05:30:13 +00:00
|
|
|
|
using System.Xml;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers.Core
|
2010-09-28 04:25:41 +00:00
|
|
|
|
{
|
|
|
|
|
public interface IHttpProvider
|
|
|
|
|
{
|
2010-09-28 05:01:54 +00:00
|
|
|
|
string DownloadString(string request);
|
2011-03-07 06:33:59 +00:00
|
|
|
|
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 04:25:41 +00:00
|
|
|
|
}
|
2010-09-28 05:58:49 +00:00
|
|
|
|
}
|