grantRole method

dynamic grantRole(
  1. int seqid,
  2. TProtocol iprot,
  3. TProtocol oprot
)

Implementation

grantRole(int seqid, TProtocol iprot, TProtocol oprot) async {
  grantRole_args args = new grantRole_args();
  args.read(iprot);
  iprot.readMessageEnd();
  grantRole_result result = new grantRole_result();
  result.success = await iface_.grantRole(args.req);
  oprot.writeMessageBegin(
      new TMessage("grantRole", TMessageType.REPLY, seqid));
  result.write(oprot);
  oprot.writeMessageEnd();
  oprot.trans_.flush();
}