TorController::TorController

Constructors

Synopses

Declared in <torcontrol.h>

Construct an empty controller. Used for testing only.

TorController();
» more...

Construct a controller for the given control center and onion service target.

TorController(
    std::string const& tor_control_center,
    CService const& target);
» more...

Parameters

NameDescription
tor_control_centerAddress of the Tor control socket in host:port form.
targetLocal service the onion service should forward to.