[#TorController-2constructor-0d] = xref:TorController.adoc[TorController]::TorController :relfileprefix: ../ :mrdocs: Construct a controller for the given control center and onion service target. == Synopsis Declared in `<torcontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- TorController( std::string const& tor_control_center, xref:CService.adoc[CService] const& target); ---- == 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]#