SocketConfig constructor
const
SocketConfig({
- int? mark,
- Object? tcpFastOpen,
- TProxyMode? tproxy,
- bool? acceptProxyProtocol,
- XrayTargetStrategy? domainStrategy,
- String? dialerProxy,
- int? tcpKeepAliveInterval,
- int? tcpKeepAliveIdle,
- String? tcpCongestion,
- int? tcpWindowClamp,
- int? tcpMaxSeg,
- bool? penetrate,
- int? tcpUserTimeout,
- bool? v6only,
- @JsonKey.new(name: 'interface') String? interfaceName,
- bool? tcpMptcp,
- List<
CustomSockoptConfig> ? customSockopt, - AddressPortStrategy? addressPortStrategy,
- HappyEyeballsConfig? happyEyeballs,
- List<
String> ? trustedXForwardedFor,
Implementation
const factory SocketConfig({
int? mark,
Object? tcpFastOpen,
TProxyMode? tproxy,
bool? acceptProxyProtocol,
XrayTargetStrategy? domainStrategy,
String? dialerProxy,
int? tcpKeepAliveInterval,
int? tcpKeepAliveIdle,
String? tcpCongestion,
int? tcpWindowClamp,
int? tcpMaxSeg,
bool? penetrate,
int? tcpUserTimeout,
bool? v6only,
@JsonKey(name: 'interface') String? interfaceName,
bool? tcpMptcp,
List<CustomSockoptConfig>? customSockopt,
AddressPortStrategy? addressPortStrategy,
HappyEyeballsConfig? happyEyeballs,
List<String>? trustedXForwardedFor,
}) = _SocketConfig;