Skip to content

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

httpTunnelPortSave

@WorkerThread abstract fun httpTunnelPortSave(httpPort:String):Unit (source)

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

httpPort - A String value of 0, auto, or number between 1024 and 65535

Exceptions

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

See Also

TorSettings.httpTunnelPort