Skip to content

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

proxyPortSave

@WorkerThread abstract fun proxyPortSave(proxyPort:Int?):Unit (source)

Saves the value for proxyPort 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

proxyPort - 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.proxyPort