Skip to content
Browse files

sendMultiple() removed from socket transport

  • Loading branch information...
1 parent a58492b commit 01f23750f8d2d34f99c79ce2b80b009811a42440 @dimsmol committed Feb 7, 2013
Showing with 0 additions and 15 deletions.
  1. +0 −15 lib/mechanics/socket/transport.js
View
15 lib/mechanics/socket/transport.js
@@ -55,21 +55,6 @@ Transport.prototype.send = function (connection, message) {
this.emit('message_sent', connection, message);
};
-Transport.prototype.sendMultiple = function(recipientConnections, data, opt_connectionsToExclude) {
- if (recipientConnections == null || recipientConnections.length === 0) {
- return;
- }
-
- var message = this.encode({}, data);
-
- for (var k in recipientConnections) {
- if (!opt_connectionsToExclude || !(k in opt_connectionsToExclude)) {
- var connection = recipientConnections[k];
- this.send(connection, message);
- }
- }
-};
-
Transport.prototype.sendResult = function(req, res, result) {
var headers = res.headers;
headers.status = res.statusCode;

0 comments on commit 01f2375

Please sign in to comment.
Something went wrong with that request. Please try again.