| 1 | declare module "@novnc/novnc/lib/rfb" { |
| 2 | interface RFBOptions { |
| 3 | /** WebSocket protocols to use */ |
| 4 | wsProtocols?: string | string[]; |
| 5 | /** Shared mode (allows multiple connections) */ |
| 6 | shared?: boolean; |
| 7 | /** Credentials for authentication */ |
| 8 | credentials?: { |
| 9 | username?: string; |
| 10 | password?: string; |
| 11 | target?: string; |
| 12 | }; |
| 13 | /** Repeat the connection if it is dropped */ |
| 14 | repeaterID?: string; |
| 15 | } |
| 16 | |
| 17 | export default class RFB { |
| 18 | constructor(target: HTMLElement, urlOrChannel: string | WebSocket, options?: RFBOptions); |
nothing calls this directly
no outgoing calls
no test coverage detected