using ZB.MOM.WW.MxGateway.Contracts; namespace ZB.MOM.WW.MxGateway.Server.Configuration; /// /// Configuration options for the worker protocol version. /// public sealed class ProtocolOptions { /// /// Gets or sets the worker protocol version. /// public uint WorkerProtocolVersion { get; init; } = GatewayContractInfo.WorkerProtocolVersion; /// Gets or sets the maximum gRPC message size in bytes. public int MaxGrpcMessageBytes { get; init; } = 16 * 1024 * 1024; }