[#TorController-2constructor-0b] = xref:TorController.adoc[TorController]::TorController :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<torcontrol.h>` Construct an empty controller. Used for testing only. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TorController/2constructor-09.adoc[TorController](); ---- [.small]#xref:TorController/2constructor-09.adoc[_» more..._]# Construct a controller for the given control center and onion service target. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:TorController/2constructor-0d.adoc[TorController]( std::string const& tor_control_center, xref:CService.adoc[CService] const& target); ---- [.small]#xref:TorController/2constructor-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *tor_control_center* | Address of the Tor control socket in host:port form. | *target* | Local service the onion service should forward to. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#