mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
19 lines
431 B
C#
19 lines
431 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) })
|
|
{
|
|
}
|
|
}
|
|
}
|