createRequest method

  1. @override
Buffer createRequest()
override

Returns a Buffer containing the command packet.

Implementation

@override
Buffer createRequest() {
  var buffer = Buffer(1);
  buffer.writeByte(COM_DEBUG);
  return buffer;
}