mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-20 15:55:25 +03:00
update async stream writing
This commit is contained in:
@@ -699,5 +699,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||
|
||||
throw error;
|
||||
}
|
||||
|
||||
public object GetAsyncStreamWriter(Func<Stream, Task> streamWriter, IDictionary<string, string> responseHeaders = null)
|
||||
{
|
||||
return new AsyncStreamWriterFunc(streamWriter, responseHeaders);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user