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

    Type Alias SubscribePacket

    SUBSCRIBE packet - Subscribe to topics.

    MQTT 5.0 §3.8

    type SubscribePacket = {
        packetId: number;
        properties?: SubscribeProperties;
        subscriptions: readonly Subscription[];
        type: typeof SUBSCRIBE;
    }
    Index

    Properties

    packetId: number

    Packet identifier

    properties?: SubscribeProperties

    SUBSCRIBE properties (5.0)

    subscriptions: readonly Subscription[]

    Topic subscriptions (at least one)

    type: typeof SUBSCRIBE

    Packet type discriminator.