send method

Socket send(
  1. dynamic msg,
  2. dynamic options, [
  3. EventHandler? fn
])

Implementation

Socket send(msg, options, [EventHandler? fn]) {
  sendPacket(type: 'message', data: msg, options: options, callback: fn);
  return this;
}