int64_t get_num_connected_clients() const {
return metric_num_connected_clients.load();
}
+ int64_t get_num_connected_multicam_clients() const {
+ return metric_num_connected_multicam_clients.load();
+ }
private:
static int answer_to_connection_thunk(void *cls, MHD_Connection *connection,
// Metrics.
std::atomic<int64_t> metric_num_connected_clients{0};
+ std::atomic<int64_t> metric_num_connected_multicam_clients{0};
};
#endif // !defined(_HTTPD_H)