aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ApiInteraction/ApiClient.cs
blob: 3d5ecde22b550d5b47b99b0fab2d9422869994fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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) })
        {
        }
    }
}