Classes | Functions
ClientActor.h File Reference

Go to the source code of this file.

Classes

class  ClientActor
 
struct  ClientActor::Options
 Options for ClientActor creation. More...
 

Functions

std::shared_ptr< NetQueryStats > create_net_query_stats ()
 
void dump_pending_network_queries (NetQueryStats &stats)
 
uint64 get_pending_network_query_count (NetQueryStats &stats)
 

Function Documentation

◆ create_net_query_stats()

std::shared_ptr<NetQueryStats> td::create_net_query_stats ( )

Creates NetQueryStats object, which can be shared between different clients.

◆ dump_pending_network_queries()

void td::dump_pending_network_queries ( NetQueryStats &  stats)

Dumps information about all pending network queries to the internal TDLib log. This is useful for library debugging.

◆ get_pending_network_query_count()

uint64 td::get_pending_network_query_count ( NetQueryStats &  stats)

Returns the current number of pending network queries. Useful for library debugging.

Returns
Number of currently pending network queries.