HysteriaClientConfig.fromJson constructor
HysteriaClientConfig.fromJson(
- Object? json
Implementation
factory HysteriaClientConfig.fromJson(Object? json) {
final map = asJsonMap(json, 'hysteria outbound');
return HysteriaClientConfig(
version: map['version'] as int,
address: XrayAddress.fromJson(map['address']),
port: map['port'] as int,
);
}