Enumeration UnsubackReasonCode

Reason codes inside UNSUBACK packet payloads that specify the results for each topic filter in the associated UNSUBSCRIBE packet.

Enum values match MQTT5 spec encoding values.

Enumeration Members

Success: 0

Returned when the unsubscribe was successful and the client is no longer subscribed to the topic filter on the server.

NoSubscriptionExisted: 17

Returned when the topic filter did not match one of the client's existing subscriptions on the server.

UnspecifiedError: 128

Returned when the unsubscribe of the topic filter was not accepted and the server does not want to specify a reason or none of the other reason codes apply.

ImplementationSpecificError: 131

Returned when the topic filter was valid but the server does not accept an unsubscribe for it.

NotAuthorized: 135

Returned when the client was not authorized to unsubscribe from that topic filter on the server.

TopicFilterInvalid: 143

Returned when the topic filter was correctly formed but is not allowed for the client on the server.

PacketIdentifierInUse: 145

Returned when the packet identifier was already in use on the server.

Generated using TypeDoc