Optional
assignedSpecifies a client identifier assigned to this connection by the server. Only valid when the client id of the preceding CONNECT packet was left empty.
Optional
maximumSpecifies the maximum packet size, in bytes, that the server is willing to accept. If undefined, there is no limit beyond what is imposed by the MQTT spec itself.
Optional
maximumThe maximum message delivery quality of service that the server will allow on this connection.
Indicates either success or the reason for failure for the connection attempt.
Optional
reasonAdditional diagnostic information about the result of the connection attempt.
Optional
receiveThe maximum amount of in-flight QoS 1 or 2 messages that the server is willing to handle at once. If omitted, the limit is based on the valid MQTT packet id space (65535).
Optional
responseA value that can be used in the creation of a response topic associated with this connection. MQTT5-based request/response is outside the purview of the MQTT5 spec and this client.
Optional
retainIndicates whether the server supports retained messages. If undefined, retained messages are supported.
Optional
serverServer-requested override of the keep alive interval, in seconds. If undefined, the keep alive value sent by the client should be used.
Optional
serverProperty indicating an alternate server that the client may temporarily or permanently attempt to connect to instead of the configured endpoint. Will only be set if the reason code indicates another server may be used (ServerMoved, UseAnotherServer).
Optional
sessionA time interval, in seconds, that the server will persist this connection's MQTT session state for. If present, this value overrides any session expiry specified in the preceding CONNECT packet.
True if the client rejoined an existing session on the server, false otherwise.
Optional
sharedIndicates whether the server supports shared subscription topic filters. If undefined, shared subscriptions are supported.
Optional
subscriptionIndicates whether the server supports subscription identifiers. If undefined, subscription identifiers are supported.
Optional
topicSpecifies the maximum topic alias value that the server will accept from the client.
Optional
typeAlways set on packets coming from the client to the user. Ignored if set on packets that come from the user to the client.
The primary use is to allow users to distinguish between packets in polymorphic situations (for example, the result of a publish attempt which might be a Puback (QoS 1) or Pubcomp (QoS 2, when we support it).
Optional
userSet of MQTT5 user properties included with the packet.
Optional
wildcardIndicates whether the server supports wildcard subscriptions. If undefined, wildcard subscriptions are supported.
Generated using TypeDoc
Data model of an MQTT5 CONNACK packet.