From b84db04f6846be2b5c8ec30fbf23f6a081288f4d Mon Sep 17 00:00:00 2001 From: Yemel Jardi Date: Thu, 11 Dec 2014 11:31:52 -0300 Subject: [PATCH] Add developer guide section --- lib/transport/peer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/transport/peer.js b/lib/transport/peer.js index bdb03a2..724cd2e 100644 --- a/lib/transport/peer.js +++ b/lib/transport/peer.js @@ -141,6 +141,8 @@ Peer.prototype.disconnect = function() { /** * Send a Message to the remote peer. + * + * @param {Message} message - A message instance */ Peer.prototype.sendMessage = function(message) { this.socket.write(message.serialize(this.network));