OutboundDetourConfig.dns constructor
OutboundDetourConfig.dns({
- required DNSOutboundConfig settings,
- String? tag,
- String? sendThrough,
- StreamConfig? streamSettings,
- ProxyConfig? proxySettings,
- MuxConfig? mux,
- XrayTargetStrategy? targetStrategy,
Implementation
factory OutboundDetourConfig.dns({
required DNSOutboundConfig settings,
String? tag,
String? sendThrough,
StreamConfig? streamSettings,
ProxyConfig? proxySettings,
MuxConfig? mux,
XrayTargetStrategy? targetStrategy,
}) => OutboundDetourConfig.fromProtocol(
protocol: XrayOutboundProtocol.dns,
sendThrough: sendThrough,
tag: tag,
settings: settings,
streamSettings: streamSettings,
proxySettings: proxySettings,
mux: mux,
targetStrategy: targetStrategy,
);