UNPKG

@seriousme/opifex

Version:

MQTT client & server for Deno & NodeJS

17 lines 456 B
import type { PacketId, TPacketType } from "./types.ts"; /** * UnsubackPacket is sent by the server to the client to confirm receipt * of an UnsubscribePacket. */ export type UnsubackPacket = { type: TPacketType; id: PacketId; }; export declare const unsuback: { encode(packet: UnsubackPacket): { flags: number; bytes: number[]; }; decode(buffer: Uint8Array): UnsubackPacket; }; //# sourceMappingURL=unsuback.d.ts.map