@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
14 lines • 631 B
TypeScript
import type { Context } from "../context.ts";
import type { UnsubackPacket } from "../deps.ts";
/**
* Handles the UNSUBACK packet received from the server
* @param ctx - The MQTT client context
* @param packet - The UNSUBACK packet received from the server
* @description
* The UNSUBACK Packet is sent by the Server to the Client to confirm receipt of
* an UNSUBSCRIBE Packet.
* When received, it removes the pending outgoing request and completes the corresponding
* unsubscribe operation.
*/
export declare function handleUnsuback(ctx: Context, packet: UnsubackPacket): void;
//# sourceMappingURL=handleUnsuback.d.ts.map