ClientConfig interface

The settings of Client Config.

Properties

maxKeepAliveSeconds

Upper bound of a client's Keep Alive, in seconds.

maxMessageExpirySeconds

Upper bound of Message Expiry Interval, in seconds.

maxPacketSizeBytes

Max message size for a packet in Bytes.

maxReceiveMaximum

Upper bound of Receive Maximum that a client can request in the CONNECT packet.

maxSessionExpirySeconds

Upper bound of Session Expiry Interval, in seconds.

subscriberQueueLimit

The limit on the number of queued messages for a subscriber.

Property Details

maxKeepAliveSeconds

Upper bound of a client's Keep Alive, in seconds.

maxKeepAliveSeconds?: number

Property Value

number

maxMessageExpirySeconds

Upper bound of Message Expiry Interval, in seconds.

maxMessageExpirySeconds?: number

Property Value

number

maxPacketSizeBytes

Max message size for a packet in Bytes.

maxPacketSizeBytes?: number

Property Value

number

maxReceiveMaximum

Upper bound of Receive Maximum that a client can request in the CONNECT packet.

maxReceiveMaximum?: number

Property Value

number

maxSessionExpirySeconds

Upper bound of Session Expiry Interval, in seconds.

maxSessionExpirySeconds?: number

Property Value

number

subscriberQueueLimit

The limit on the number of queued messages for a subscriber.

subscriberQueueLimit?: SubscriberQueueLimit

Property Value