guacamole-client
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/guacamole-client package

1.5.3 • Public • Published

About

guacamole-client is the superproject containing all Maven-based projects that make Apache Guacamole, an HTML5 web application that provides access to your desktop using remote desktop protocols.

guacamole-client is used to build the subprojects that make up Guacamole, and to provide a common central repository. Each project contained here is completely independent of guacamole-client and can be built separately, though the others may have to be built first. If all projects are built using guacamole-client, Maven will take care of the proper build order.

Install

$ npm install guacamole-client

Use

import Guacamole from 'guacamole-client'

const tunnelUrl = 'wss://your/websocket-tunnel'
const token = 'your token'

const tunnel = new Guacamole.ChainedTunnel(
  new Guacamole.WebSocketTunnel(tunnelUrl)
)
const client = new Guacamole.Client(tunnel)
const connectArgs = `token=${token}`

const el = client.getDisplay().getElement()
document.getElementById('display').appendChild(el)
client.connect(connectArgs)

More

http://guacamole.apache.org/

Readme

Keywords

none

Package Sidebar

Install

npm i guacamole-client

Weekly Downloads

560

Version

1.5.3

License

Apache-2.0

Unpacked Size

193 kB

Total Files

5

Last publish

Collaborators

  • hojas