MCPcopy Create free account
hub / github.com/PurpleI2P/i2pd / BOBInfoHandler

Method BOBInfoHandler

daemon/I2PControlHandlers.cpp:450–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

448 }
449
450 void I2PControlHandlers::BOBInfoHandler (std::ostringstream& results)
451 {
452 boost::property_tree::ptree pt;
453 auto bob = i2p::client::context.GetBOBCommandChannel ();
454 if (bob)
455 {
456 /* TODO more info */
457 pt.put("enabled", true);
458 }
459 else
460 pt.put("enabled", false);
461
462 InsertParam (results, "BOB", pt);
463 }
464
465 void I2PControlHandlers::I2CPInfoHandler (std::ostringstream& results)
466 {

Callers

nothing calls this directly

Calls 1

GetBOBCommandChannelMethod · 0.80

Tested by

no test coverage detected