File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 5
5
6
6
namespace ArcticFox . Net . Batching
7
7
{
8
+ [ Obsolete ( "batched sending is deprecated (there's no benefit)" ) ]
8
9
public class BatchedSendContext : ISendContext
9
10
{
10
11
private int m_maxSize => m_sharedBuffer . Length ;
Original file line number Diff line number Diff line change 5
5
6
6
namespace ArcticFox . Net . Batching
7
7
{
8
+ [ Obsolete ( "batched sending is deprecated (there's no benefit)" ) ]
8
9
public class WebSocketAwareSendContext : ISendContext
9
10
{
10
11
private readonly int m_maxMessageSize ;
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ public abstract class SocketHost : IAsyncDisposable
20
20
21
21
private readonly AsyncLockedAccess < List < HighLevelSocket > > m_sockets = new AsyncLockedAccess < List < HighLevelSocket > > ( new List < HighLevelSocket > ( ) ) ;
22
22
23
- public bool m_batchMessages ;
24
- public int m_maxBatchSize = 1460 - 14 ; // - ws overhead
23
+ [ Obsolete ] public bool m_batchMessages ;
24
+ [ Obsolete ] public int m_maxBatchSize = 1460 - 14 ; // - ws overhead
25
25
26
26
public int m_recvBufferSize = 1024 ;
27
27
You can’t perform that action at this time.
0 commit comments