mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 10:58:58 -07:00
17 lines
473 B
C#
17 lines
473 B
C#
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);
|
|
}
|
|
}
|