aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/IResourceFileManager.cs
blob: f70ea6a17d0f85519ea0c8b3863d92bd01844884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.IO;
using System.Threading.Tasks;
using MediaBrowser.Model.Services;

namespace MediaBrowser.Controller
{
    public interface IResourceFileManager
    {
        Task<object> GetStaticFileResult(IRequest request, string basePath, string virtualPath, string contentType, TimeSpan? cacheDuration);

        Stream GetResourceFileStream(string basePath, string virtualPath);

        string ReadAllText(string basePath, string virtualPath);
    }
}