jellyfin/MediaBrowser.ApiInteraction/ApiClient.cs
LukePulverenti Luke Pulverenti luke pulverenti 1fc7f8bd2d ApiClient improvements
2012-09-08 13:56:51 -04:00

19 lines
433 B
C#

using System.Net.Cache;
using System.Net.Http;
namespace MediaBrowser.ApiInteraction
{
public class ApiClient : BaseHttpApiClient
{
public ApiClient(HttpClientHandler handler)
: base(handler)
{
}
public ApiClient()
: this(new WebRequestHandler() { CachePolicy = new RequestCachePolicy(RequestCacheLevel.Revalidate) })
{
}
}
}