2012-09-08 17:56:51 +00:00
|
|
|
|
using System.Net.Cache;
|
2012-08-18 08:22:54 +00:00
|
|
|
|
using System.Net.Http;
|
2012-07-31 16:29:07 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.ApiInteraction
|
|
|
|
|
{
|
2012-09-08 17:56:51 +00:00
|
|
|
|
public class ApiClient : BaseHttpApiClient
|
2012-07-31 16:29:07 +00:00
|
|
|
|
{
|
2012-08-18 08:22:54 +00:00
|
|
|
|
public ApiClient(HttpClientHandler handler)
|
2012-09-08 17:56:51 +00:00
|
|
|
|
: base(handler)
|
2012-08-18 08:22:54 +00:00
|
|
|
|
{
|
2012-08-22 13:05:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
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) })
|
2012-08-15 13:20:29 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
2012-07-31 16:29:07 +00:00
|
|
|
|
}
|
|
|
|
|
}
|