1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-19 04:13:02 +00:00

Pass CancellationToken to Content.ReadAsStreamAsync (#262)

This commit is contained in:
Jonnern
2025-12-15 16:33:06 +01:00
committed by GitHub
parent f3d535f286
commit f125bc88b0
5 changed files with 16 additions and 9 deletions
+2 -1
View File
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
namespace CryptoExchange.Net.Interfaces
@@ -40,7 +41,7 @@ namespace CryptoExchange.Net.Interfaces
/// Get the response stream
/// </summary>
/// <returns></returns>
Task<Stream> GetResponseStreamAsync();
Task<Stream> GetResponseStreamAsync(CancellationToken cancellationToken);
/// <summary>
/// Close the response