jellyfin/MediaBrowser.ApiInteraction/ApiClient.cs

19 lines
433 B
C#
Raw Normal View History

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