MCPcopy
hub / github.com/coder/mux / RFBOptions

Interface RFBOptions

src/types/novnc.d.ts:2–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1declare 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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected