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

    Type Alias PacketFixture<T>

    A packet fixture with expected bytes.

    type PacketFixture<T extends MqttPacket = MqttPacket> = {
        bytes: Uint8Array;
        name: string;
        packet: T;
        specRef?: string;
        version: ProtocolVersion;
    }

    Type Parameters

    Index

    Properties

    bytes: Uint8Array

    Expected encoded bytes

    name: string

    Descriptive name for the fixture

    packet: T

    The packet data

    specRef?: string

    Optional spec section reference

    Protocol version