File: README

package info (click to toggle)
qtwebchannel-opensource-src 5.15.18-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,168 kB
  • sloc: cpp: 3,298; javascript: 475; makefile: 20; ansic: 14
file content (14 lines) | stat: -rw-r--r-- 579 bytes parent folder | download | duplicates (11)
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"