MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getNumTotalConnections

Function getNumTotalConnections

Libraries/Http/HttpConnection.h:622–622  ·  view source on GitHub ↗

@brief Returns the total number of connections (active + inactive)

Source from the content-addressed store, hash-verified

620
621 /// @brief Returns the total number of connections (active + inactive)
622 [[nodiscard]] size_t getNumTotalConnections() const { return connections.sizeInElements(); }
623
624 /// @brief Returns only the number of active connections
625 [[nodiscard]] size_t getHighestActiveConnection() const { return highestActiveConnection; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected