nodered_cfg/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts

5 lines
332 B
TypeScript
Raw Normal View History

2023-10-10 22:00:26 +02:00
import { Packet, RawData } from "./commons.js";
declare const encodePacket: ({ type, data }: Packet, supportsBinary: boolean, callback: (encodedPacket: RawData) => void) => void;
2025-01-25 10:46:42 +01:00
export declare function encodePacketToBinary(packet: Packet, callback: (encodedPacket: RawData) => void): void | Promise<void>;
export { encodePacket };