version

fun version(num: Int): BuilderScopeHS(source)

Sets TorOption.HiddenServiceVersion for this Hidden Service instance. Currently, the only supported version is v3. Anything else will cause a failure when this scope builds.

e.g.

version(3)