withHolePunching method

Future<void> withHolePunching(
  1. bool enabled
)

Configures libp2p to enable/disable the Hole Punching service.

Implementation

Future<void> withHolePunching(bool enabled) async {
  enableHolePunching = enabled;
}