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

Method AddSession

libi2pd_client/SAM.cpp:1564–1569  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562 }
1563
1564 bool SAMBridge::AddSession (std::shared_ptr<SAMSession> session)
1565 {
1566 if (!session) return false;
1567 auto ret = m_Sessions.emplace (session->Name, session);
1568 return ret.second;
1569 }
1570
1571 void SAMBridge::CloseSession (std::string_view id)
1572 {

Callers 1

ProcessSessionAddMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected