UNPKG

@seriousme/opifex

Version:

MQTT client & server for Deno & NodeJS

17 lines 447 B
import type { PacketId, TPacketType } from "./types.ts"; /** * PubrecPacket indicates publish received * It is the second packet of the QoS 2 protocol exchange. */ export type PubrecPacket = { type: TPacketType; id: PacketId; }; export declare const pubrec: { encode(packet: PubrecPacket): { flags: number; bytes: number[]; }; decode(buffer: Uint8Array): PubrecPacket; }; //# sourceMappingURL=pubrec.d.ts.map