示例#1
0
 public void SendCommand(Transfer transfer, ByteBuffer payload) =>
 Send(buffer => FrameEncoder.Encode(buffer, Channel, transfer, payload));
示例#2
0
 public void SendCommand(ushort channel, DescribedList command, FrameType type = FrameType.Amqp) =>
 Send(buffer => FrameEncoder.Encode(buffer, type, channel, command));