Sonarr/NzbDrone.Core/Providers/HttpProvider.cs

12 lines
252 B
C#
Raw Normal View History

2010-09-28 05:58:49 +00:00
using System.Net;
2010-09-28 03:40:01 +00:00
namespace NzbDrone.Core.Providers
2010-09-28 03:40:01 +00:00
{
2010-09-28 05:58:49 +00:00
internal class HttpProvider : IHttpProvider
2010-09-28 03:40:01 +00:00
{
2010-09-28 05:01:54 +00:00
public string DownloadString(string request)
2010-09-28 03:40:01 +00:00
{
2010-09-28 05:01:54 +00:00
return new WebClient().DownloadString(request);
2010-09-28 03:40:01 +00:00
}
}
2010-09-28 05:58:49 +00:00
}