Error code overview: IPConnection.ERROR_ALREADY_CONNECTED = 11 IPConnection.ERROR_NOT_CONNECTED = 12 IPConnection.ERROR_CONNECT_FAILED = 13 IPConnection.ERROR_INVALID_FUNCTION_ID = 21 IPConnection.ERROR_TIMEOUT = 31 IPConnection.ERROR_INVALID_PARAMETER = 41 IPConnection.ERROR_FUNCTION_NOT_SUPPORTED = 42 IPConnection.ERROR_UNKNOWN_ERROR = 43 http://www.tinkerforge.com/de/doc/Software/Bricklets/MotionDetector_Bricklet_JavaScript.html https://www.npmjs.com/package/nodejs-websocket https://devcenter.heroku.com/articles/node-websockets
16 lines
485 B
Markdown
16 lines
485 B
Markdown
# 1.6.0
|
|
* Added: `Server#close` as a short hand for `Server#socket.close`
|
|
|
|
# 1.5.0
|
|
* Added: `Connection#send` as a short hand for `Connection#sendText` or `Connection#sendBinary`, depending on the data type (string or Buffer)
|
|
|
|
# 1.4.1
|
|
* Added: example to README
|
|
|
|
# 1.4.0
|
|
* Added: `extraHeaders` option in `ws.connect(URL, [options], [callback])` to let one add custom headers to the HTTP handshake request
|
|
|
|
# 1.3.0
|
|
|
|
* Added: `Connection#sendPing([data=''])`
|
|
* Added: `pong(data)` event |