UNPKG

@becomes/cms-cloud-client

Version:

SDK for accessing BCMS Cloud API

15 lines (14 loc) 414 B
import { Socket } from 'socket.io-client'; interface Connection { socket: Socket; closeAt: number; } export declare class ShimSocket { static connections: { [id: string]: Connection; }; static readonly TTL = 10000; static open(instanceId: string, orgId: string, serverIp: string, userId: string): Promise<Connection | null>; static close(instanceId: string): void; } export {};