1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-27 11:21:43 +02:00
Sonarr/NzbDrone.Core/Providers/HttpProvider.cs

12 lines
252 B
C#
Raw Normal View History

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