mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This commit is contained in:
@@ -813,7 +813,7 @@ namespace ArchiSteamFarm {
|
||||
}
|
||||
}
|
||||
|
||||
public sealed class HtmlDocumentResponse : BasicResponse {
|
||||
public sealed class HtmlDocumentResponse : BasicResponse, IDisposable {
|
||||
[PublicAPI]
|
||||
public readonly IDocument Content;
|
||||
|
||||
@@ -831,6 +831,8 @@ namespace ArchiSteamFarm {
|
||||
Content = document;
|
||||
}
|
||||
|
||||
public void Dispose() => Content?.Dispose();
|
||||
|
||||
[ItemCanBeNull]
|
||||
internal static async Task<HtmlDocumentResponse> Create([NotNull] StreamResponse streamResponse) {
|
||||
if (streamResponse == null) {
|
||||
|
||||
Reference in New Issue
Block a user