@qualithm/mqtt-wire - v0.8.0
    Preparing search index...

    Type Alias PublishOutcome

    How a publish hook answers a QoS 1 PUBLISH under pubackAfterDelivery.

    type PublishOutcome = {
        reasonCode: ReasonCode;
        reasonString?: string;
    }
    Index

    Properties

    reasonCode: ReasonCode

    PUBACK reason code; 0x80 or above tells the client the message was not accepted

    reasonString?: string

    Human-readable reason, sent as the PUBACK's reason string (5.0)