UNPKG

acq-sdk

Version:
14 lines (13 loc) 418 B
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; }