Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

send now return this

  • Loading branch information...
commit b18bbb78281ccc748a5e3c6c50fbcfe6feb16ada 1 parent 451b441
@kilianc authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/nssocket.js
View
1  lib/nssocket.js
@@ -106,6 +106,7 @@ NsSocket.prototype.send = function send(event, data, callback) {
}
this.stream.write(this.createMessage(event, data), callback)
+ return this
}
NsSocket.prototype.createMessage = function createMessage(event, data) {
Please sign in to comment.
Something went wrong with that request. Please try again.