Nullify IFileDownloader

This commit is contained in:
Jordan Dominion
2023-12-18 14:22:09 -05:00
parent 16ed57cbb5
commit ef2fca7b4d
@@ -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);
}
}