eventsocket
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -47,2 +47,7 @@ var net = require('net'); | ||
socket.on('error', function (ex) { | ||
log(ex); | ||
emit('error', ex); | ||
}); | ||
eventSocket.disconnect = function () { | ||
@@ -49,0 +54,0 @@ socket.disconnect(); |
{ | ||
"name": "eventsocket", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Event socket", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"debug": "^2.1.1", | ||
"jsonsocket": "^1.0.0" | ||
"jsonsocket": "^1.0.1" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
@@ -62,2 +62,14 @@ # eventsocket | ||
### error | ||
Emitted when net.Socket emit error. | ||
> Error events are treated as a special case in node. If there is no listener for it, | ||
> then the default action is to print a stack trace and exit the program. | ||
[see more](http://nodejs.org/api/events.html#events_class_events_eventemitter). | ||
### newListener, removeListener | ||
Inherited from [EventEmitter](http://nodejs.org/api/events.html#events_class_events_eventemitter). | ||
## Logging | ||
@@ -64,0 +76,0 @@ |
7017
72
100
Updatedjsonsocket@^1.0.1