1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00
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
}