mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-25 14:06:41 +01:00
Nullify IFileDownloader
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
using System;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Tgstation.Server.Host.IO
|
||||
{
|
||||
/// <summary>
|
||||
@@ -15,6 +13,6 @@ namespace Tgstation.Server.Host.IO
|
||||
/// <param name="url">The URL to download.</param>
|
||||
/// <param name="bearerToken">Optional <see cref="string"/> to use as the "Bearer" value in the optional "Authorization" header for the request.</param>
|
||||
/// <returns>A new <see cref="IFileStreamProvider"/> for the downloaded file.</returns>
|
||||
IFileStreamProvider DownloadFile(Uri url, string bearerToken);
|
||||
IFileStreamProvider DownloadFile(Uri url, string? bearerToken);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user