mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 02:49:05 -07: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) })
|
|
{
|
|
}
|
|
}
|
|
}
|