write method

Socket write(
  1. dynamic data,
  2. dynamic options, [
  3. dynamic callback
])

Implementation

Socket write(data, options, [callback]) {
  sendPacket('message', data: data, options: options, callback: callback);
  return this;
}