acq-sdk
Version:
SDK oficial para a API da ACQ
14 lines (13 loc) • 418 B
TypeScript
import { AcqSocketConfig } from "../types";
import { AcqSocket, SocketEvents } from "./socket.interface";
/**
* Cliente socket ACQ
*/
export declare class AcqSocketClient implements AcqSocket {
config: AcqSocketConfig;
private socket;
constructor(config: AcqSocketConfig);
connect(): Promise<void>;
disconnect(): Promise<void>;
on(event: SocketEvents, callback: (data: any) => void): void;
}