send method

  1. @override
Future send (
  1. String packet
)
override

Implementation

@override
Future send(String packet) {
  _logger.fine('Sending packet to statsd: ${packet}.');
  socket?.send(packet.codeUnits, address, port);
  return new Future.value();
}