UNPKG

kui-shell

Version:

This is the monorepo for Kui, the hybrid command-line/GUI electron-based Kubernetes tool

14 lines (13 loc) 449 B
import { Channel } from './channel'; declare class WebSocketChannel implements Channel { private readonly ws; private readonly uid; private readonly gid; constructor(url: string, uid: number, gid: number); close(): void; send(msg: string): void; readonly readyState: number; removeEventListener(eventType: string, handler: any): void; on(eventType: string, handler: any): void; } export default WebSocketChannel;