1
0
mirror of https://github.com/JKorf/CryptoExchange.Net.git synced 2026-08-18 20:02:57 +00:00

Added Exchange property to ISocketClient interface

This commit is contained in:
JKorf
2024-03-16 14:47:12 +01:00
parent 2fb3442800
commit 7f29275851
2 changed files with 6 additions and 1 deletions
@@ -519,7 +519,7 @@ namespace CryptoExchange.Net.Sockets
multiPartMessage = true;
_logger.Log(LogLevel.Trace, $"[Sckt {Id}] received {receiveResult.Count} bytes in partial message");
// Add the buffer to the multipart buffers list, create new buffer for next message part
// Write the data to a memory stream to be reassembled later
if (multipartStream == null)
multipartStream = new MemoryStream();
multipartStream.Write(buffer.Array, buffer.Offset, receiveResult.Count);