Skip to content

topl-service-base / io.matthewnelson.topl_service_base / BaseServiceTorSettings / proxySocks5ServerPortSave

proxySocks5ServerPortSave

@WorkerThread abstract fun proxySocks5ServerPortSave(proxySocks5ServerPort:Int?):Unit (source)

Saves the value for proxySocks5ServerPort to TorServicePrefs. If the value is the same as what is declared in defaultTorSettings, TorServicePrefs is queried to remove the setting if it exists.

Parameters

proxySocks5ServerPort - An Int value between 1024 and 65535, or null

Exceptions

IllegalArgumentException - if the value is not null, or between 1024 and 65535

See Also

TorSettings.proxySocks5ServerPort