2012-09-08 19:56:51 +02:00
|
|
|
|
using System.Net.Cache;
|
2012-08-18 10:22:54 +02:00
|
|
|
|
using System.Net.Http;
|
2012-07-31 18:29:07 +02:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.ApiInteraction
|
|
|
|
|
{
|
2012-09-08 19:56:51 +02:00
|
|
|
|
public class ApiClient : BaseHttpApiClient
|
2012-07-31 18:29:07 +02:00
|
|
|
|
{
|
2012-08-18 10:22:54 +02:00
|
|
|
|
public ApiClient(HttpClientHandler handler)
|
2012-09-08 19:56:51 +02:00
|
|
|
|
: base(handler)
|
2012-08-18 10:22:54 +02:00
|
|
|
|
{
|
2012-08-22 15:05:25 +02:00
|
|
|
|
}
|
|
|
|
|
|
2012-09-08 19:56:51 +02:00
|
|
|
|
public ApiClient()
|
|
|
|
|
: this(new WebRequestHandler() { CachePolicy = new RequestCachePolicy(RequestCacheLevel.Revalidate) })
|
2012-08-15 15:20:29 +02:00
|
|
|
|
{
|
|
|
|
|
}
|
2012-07-31 18:29:07 +02:00
|
|
|
|
}
|
|
|
|
|
}
|