mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 22:38:30 +01:00
Update to 3.5.2 and .net core 2.1
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using Emby.Server.Implementations.HttpServer;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Emby.Server.Implementations.Services
|
||||
{
|
||||
public class RequestHelper
|
||||
{
|
||||
public static Func<Type, Stream, object> GetRequestReader(HttpListenerHost host, string contentType)
|
||||
public static Func<Type, Stream, Task<object>> GetRequestReader(HttpListenerHost host, string contentType)
|
||||
{
|
||||
switch (GetContentTypeWithoutEncoding(contentType))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user