NET-Web-API-w-Angular/my-app/node_modules/engine.io-parser/build/cjs/encodePacket.browser.d.ts

5 lines
332 B
TypeScript
Raw Normal View History

2024-02-09 00:38:41 +00:00
import { Packet, RawData } from "./commons.js";
declare const encodePacket: ({ type, data }: Packet, supportsBinary: boolean, callback: (encodedPacket: RawData) => void) => void;
export declare function encodePacketToBinary(packet: Packet, callback: (encodedPacket: RawData) => void): void | Promise<void>;
export { encodePacket };