Client interface. Usually a WebSocket.

interface Client {
    readyState: ClientReadyState;
    send(data: string, cb?: ((err?: Error) => void)): void;
}

Properties

Methods

Properties

readyState: ClientReadyState

Methods