@seriousme/opifex
Version:
MQTT client & server for Deno & NodeJS
13 lines • 611 B
TypeScript
import type { Context } from "../context.ts";
import type { SubackPacket } from "../deps.ts";
/**
* Handles SUBACK packets received from the server
* @param ctx - The MQTT client context
* @param packet - The SUBACK packet containing subscription confirmations
* @description
* - Processes SUBACK packets sent by server to confirm SUBSCRIBE requests
* - Removes the packet ID from pending outgoing messages
* - Notifies the client about granted QoS levels for each subscription
*/
export declare function handleSuback(ctx: Context, packet: SubackPacket): void;
//# sourceMappingURL=handleSuback.d.ts.map