UNPKG

@seriousme/opifex

Version:

MQTT client & server for Deno & NodeJS

16 lines 495 B
import type { TPacketType } from "./types.ts"; /** * PingresPacket is an empty packet that is sent by the server in response to a PingreqPacket. * It is used to indicate that the client is still connected to the server. */ export type PingresPacket = { type: TPacketType; }; export declare const pingres: { encode(_packet: PingresPacket): { flags: number; bytes: number[]; }; decode(buffer: Uint8Array): PingresPacket; }; //# sourceMappingURL=pingres.d.ts.map