jellyfin/MediaBrowser.ApiInteraction/ApiClient.cs

19 lines
431 B
C#
Raw Normal View History

2012-09-08 17:56:51 +00:00
using System.Net.Cache;
using System.Net.Http;
namespace MediaBrowser.ApiInteraction
{
2012-09-08 17:56:51 +00:00
public class ApiClient : BaseHttpApiClient
{
public ApiClient(HttpClientHandler handler)
2012-09-08 17:56:51 +00:00
: base(handler)
{
}
2012-09-08 17:56:51 +00:00
public ApiClient()
2012-09-11 19:37:14 +00:00
: this(new WebRequestHandler { CachePolicy = new RequestCachePolicy(RequestCacheLevel.Revalidate) })
{
}
}
}