aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ApiInteraction/ApiClient.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ApiInteraction/ApiClient.cs')
-rw-r--r--MediaBrowser.ApiInteraction/ApiClient.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/MediaBrowser.ApiInteraction/ApiClient.cs b/MediaBrowser.ApiInteraction/ApiClient.cs
new file mode 100644
index 000000000..3d5ecde22
--- /dev/null
+++ b/MediaBrowser.ApiInteraction/ApiClient.cs
@@ -0,0 +1,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) })
+ {
+ }
+ }
+}