createRequest method

  1. @override
Buffer createRequest()
override

Returns a Buffer containing the command packet.

Implementation

@override
Buffer createRequest() {
  var buffer = Buffer(5);
  buffer.writeByte(COM_STMT_CLOSE);
  buffer.writeUint32(_handle);
  return buffer;
}