[#TorController-2constructor-0d]
= xref:TorController.adoc[TorController]::TorController
:relfileprefix: ../
:mrdocs:

Construct a controller for the given control center and onion service target&period;

== Synopsis

Declared in `&lt;torcontrol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
TorController(
    std::string const& tor&lowbar;control&lowbar;center,
    xref:CService.adoc[CService] const& target);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *tor&lowbar;control&lowbar;center*
| Address of the Tor control socket in host&colon;port form&period;
| *target*
| Local service the onion service should forward to&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
