packet method

void packet(
  1. Map packet
)

Sends a packet.

@param {Object} packet @api private

Implementation

void packet(Map packet) {
  packet['nsp'] = nsp;
  io.packet(packet);
}