qos abstract method

Future<Channel> qos(
  1. int prefetchSize,
  2. int prefetchCount
)

Setup the prefetchSize and prefetchCount QoS parameters. Returns a Future<Channel> with the affected channel once the server confirms the updated QoS settings.

Implementation

Future<Channel> qos(int prefetchSize, int prefetchCount);