diff --git a/websocket-sharp/PayloadData.cs b/websocket-sharp/PayloadData.cs index d6991364..b51ff196 100644 --- a/websocket-sharp/PayloadData.cs +++ b/websocket-sharp/PayloadData.cs @@ -46,7 +46,20 @@ namespace WebSocketSharp #region Public Fields - public const ulong MaxLength = Int64.MaxValue; + /// + /// Represents the allowable max length. + /// + /// + /// + /// A will occur if the payload data length is + /// greater than this. + /// + /// + /// If you would like to change this value, you must set this to a value greater than + /// WebSocket.FragmentLength, and equal to or less than Int64.MaxValue. + /// + /// + public static readonly ulong MaxLength = Int64.MaxValue; #endregion