| 1 |
This is a small NodeJS implementation on how to connect to a QWebChannel. |
| 2 |
|
| 3 |
This example implements a small chat client using the command line. It connects |
| 4 |
to the server provided by the other example 'examples/standalone/standalone'. Of |
| 5 |
course the port the server listens on must be known. |
| 6 |
|
| 7 |
How to run it: |
| 8 |
|
| 9 |
- Install NodeJS (at least 0.10.x) (http://www.nodejs.org/download/) |
| 10 |
- go to examples/nodejs and execute "npm install". This sets up the nodeJS |
| 11 |
environment in this folder |
| 12 |
- ensure examples/standalone/standalone is running |
| 13 |
- execute the example with "node chatclient.js" |
| 14 |
|