withPeerThrottling function

AutoNATOption withPeerThrottling(
  1. int amount
)

Implementation

AutoNATOption withPeerThrottling(int amount) {
  return AutoNATOption((AutoNATConfig c) {
    c.throttlePeerMax = amount;
  });
}