OutboundDetourConfig.block constructor

OutboundDetourConfig.block({
  1. String? tag,
  2. BlackholeConfig? settings,
})

Implementation

factory OutboundDetourConfig.block({
  String? tag,
  BlackholeConfig? settings,
}) => OutboundDetourConfig.fromProtocol(
  protocol: XrayOutboundProtocol.blackhole,
  tag: tag,
  settings: settings,
);