UNPKG

camstreamerlib

Version:

Helper library for CamStreamer ACAP applications.

14 lines (13 loc) 384 B
import { IWebsocket } from '../internal/types'; import { WsClientOptions } from './WsClient'; type TEvent = { data: string; }; export declare class WsEventClient implements IWebsocket<TEvent> { private wsClient; constructor(options: WsClientOptions); send: (data: string) => void; destroy: () => void; onmessage: ((event: TEvent) => void) | null; } export {};