Callback for ADD_ONION result
Declared in <torcontrol.h>
void
add_onion_cb(
TorControlConnection& conn,
TorControlReply const& reply,
bool pow_was_enabled);
| Name | Description |
|---|---|
| conn | Connection the reply arrived on. |
| reply | Reply received from Tor. |
| pow_was_enabled | Whether proof-of-work defense was requested for the onion service. |