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

    Type Alias ConnackPacket

    CONNACK packet - Server acknowledges connection.

    MQTT 5.0 §3.2

    type ConnackPacket = {
        properties?: ConnackProperties;
        reasonCode: ReasonCode;
        sessionPresent: boolean;
        type: typeof CONNACK;
    }
    Index

    Properties

    properties?: ConnackProperties

    CONNACK properties (5.0)

    reasonCode: ReasonCode

    MQTT 5.0 reason code; 0x00 accepts and any other code refuses. Under 3.1.1 it is mapped to and from the return code on the wire, never written as one.

    sessionPresent: boolean

    Session present flag

    type: typeof CONNACK

    Packet type discriminator.