TCPConfig.fromJson constructor
TCPConfig.fromJson(
- Object? json
Implementation
factory TCPConfig.fromJson(Object? json) {
final map = asJsonMap(json, 'tcp settings');
return TCPConfig(
header: map['header'] == null
? null
: TCPHeaderConfig.fromJson(map['header']),
acceptProxyProtocol: map['acceptProxyProtocol'] as bool?,
);
}