File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,12 @@ public abstract class WebSocket : IDisposable
6262 /// <summary>
6363 /// Gets or sets the maximum allowed byte length of a partial message send by the WebSocket.
6464 /// By default if a message that exceeds the size limit it will be broken up in smaller partial messages
65- /// Default is 124 bytes
65+ /// Default is 32768 bytes (32kB).
6666 /// <value>
6767 /// The maximum allowed byte length of a partial message send by the WebSocket.
6868 /// </value>
6969 /// </summary>
70- public int MaxFragmentSize { get ; private set ; } = 1024 ;
70+ public int MaxFragmentSize { get ; private set ; } = 32768 ;
7171
7272 /// <summary>
7373 /// Gets the WebSocket state of the System.Net.WebSockets.ClientWebSocket instance.
Original file line number Diff line number Diff line change @@ -36,10 +36,11 @@ public class WebSocketOptions
3636 /// <summary>
3737 /// Gets or sets the maximum allowed byte length of a partial message send by the WebSocket.
3838 /// By default if a message that exceeds the size limit it will be broken up in smaller partial messages
39+ /// Default is 32768 bytes (32kB).
3940 /// </summary>
4041 /// <value>
4142 /// The maximum allowed byte length of a partial message send by the WebSocket.
4243 /// </value>
43- public int MaxFragmentSize { get ; private set ; } = 1024 ;
44+ public int MaxFragmentSize { get ; set ; } = 32768 ;
4445 }
4546}
You can’t perform that action at this time.
0 commit comments