guacamole-client-typedefs
Version:
Work in progress typescript definitions based on http://guacamole.apache.org/doc/guacamole-common-js/
16 lines (14 loc) • 573 B
TypeScript
/// <reference path="./Tunnel.d.ts" />
declare module 'guacamole-client' {
/**
* Guacamole Tunnel which cycles between all specified tunnels until
* no tunnels are left. Another tunnel is used if an error occurs but
* no instructions have been received. If an instruction has been
* received, or no tunnels remain, the error is passed directly out
* through the onerror handler (if defined).
* @param tunnelChain The tunnels to use, in order of priority.
*/
export class ChainedTunnel extends Tunnel {
constructor(...tunnels: Tunnel[]);
}
}