summaryrefslogtreecommitdiff
path: root/examples/qwebchannel/nodejs/README
blob: 07f8fd890ecb0f9c6e06f0b99679fc499a9de56d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
This is a small NodeJS implementation on how to connect to a QWebChannel.

This example implements a small chat client using the command line. It connects
to the server provided by the other example 'examples/standalone/standalone'. Of
course the port the server listens on must be known.

How to run it:

- Install NodeJS (at least 0.10.x) (http://www.nodejs.org/download/)
- go to examples/nodejs and execute "npm install". This sets up the nodeJS
  environment in this folder
- ensure examples/standalone/standalone is running
- execute the example with "node chatclient.js"