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