0.1.0 • Published 7 years ago

nodev6-websockify v0.1.0

Weekly downloads
3
License
-
Repository
github
Last release
7 years ago

WebSocket-to-TCP proxy/bridge in NodeJS

Build Status License

Node-websockify is a WebSocket-to-TCP proxy/bridge you can use in a NodeJS program. node v6 에서 이용 가능하게 변경

Usage

Import this module in your project

npm install --save nodev6-websockify

Require the module and call the main function in your programm code

var websockify = require('nodev6-websockify');
websockify({
source: 'url:port',
target: 'url:port',
web : './directory',
cert: 'certSSL',
key: 'certSSL-key'
});

Example :

var websockify = require('node-websockify');
websockify({
  source: '127.0.0.1:8080',
  target: '192.168.0.100:5900'
});

Options

AliasValuesDefault
sourceURL of websocket Servernull
targetURL of the VNC Servernull
webDirectory of static sources exposed by the servernull (optional)
certPath of the SSL certificatenull (optional)
keyKey of the SSL certificatenull (optional)