Callback for ADD_ONION result

Synopsis

Declared in <torcontrol.h>

void
add_onion_cb(
    TorControlConnection& conn,
    TorControlReply const& reply,
    bool pow_was_enabled);

Parameters

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.

Created with MrDocs