Skip to content

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

connectionPaddingSave

@WorkerThread abstract fun connectionPaddingSave(connectionPadding:String):Unit (source)

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

connectionPadding - A io.matthewnelson.topl_core_base.BaseConsts.ConnectionPadding

Exceptions

IllegalArgumentException - if the value is not 0 (Off), 1 (On), or auto

See Also

io.matthewnelson.topl_core_base.BaseConsts.ConnectionPadding

TorSettings.connectionPadding