diff --git a/src/IceRpc.Protobuf/ProtobufFeature.cs b/src/IceRpc.Protobuf/ProtobufFeature.cs index 6863bdf20..463e5f653 100644 --- a/src/IceRpc.Protobuf/ProtobufFeature.cs +++ b/src/IceRpc.Protobuf/ProtobufFeature.cs @@ -8,11 +8,12 @@ public sealed class ProtobufFeature : IProtobufFeature /// Gets a with default values for all properties. public static IProtobufFeature Default { get; } = new DefaultProtobufFeature(); - /// - public int MaxMessageLength { get; init; } + /// Gets the maximum length of an encoded Protobuf message, in bytes. + /// The maximum length of a Protobuf message. Defaults to 1 MB. + public int MaxMessageLength { get; } /// - public ProtobufEncodeOptions? EncodeOptions { get; init; } + public ProtobufEncodeOptions? EncodeOptions { get; } /// Constructs a Protobuf feature. /// The maximum message length. Use -1 to get the default value.