mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
18 lines
433 B
C#
18 lines
433 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) })
|
|
{
|
|
}
|
|
}
|
|
}
|