Add developer guide section

This commit is contained in:
Yemel Jardi 2014-12-11 11:31:52 -03:00 committed by Braydon Fuller
parent 579c6ee301
commit b84db04f68

View File

@ -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));