Exemplo n.º 1
0
        /// <inheritdoc cref="IMqttClientConfigBuilder.LimitUnacknowledgedPublications" />
        public IMqttClientConfigBuilder LimitUnacknowledgedPublications(int receiveMaximum)
        {
            Check.Range(receiveMaximum, nameof(receiveMaximum), 1, ushort.MaxValue);

            _builder.WithReceiveMaximum((ushort)receiveMaximum);
            return(this);
        }