Github   Telegram
Loading...
Searching...
No Matches
Classes
Clients

Clients are classes that provide interfaces for requesting and retrieving data usually from remove server. More...

Classes

class  clients::http::Client
 HTTP client that returns a HTTP request builder from CreateRequest(). More...
 
class  dynamic_config::Client
 Client for the configs service. More...
 
class  dynamic_config::Source
 A client for easy dynamic config fetching in components. More...
 
class  engine::subprocess::ProcessStarter
 Creates a new OS subprocess and executes a command in it. More...
 
class  fs::FsCacheClient
 Class client for storing files in memory Usually retrieved from components::FsCache More...
 
class  storages::secdist::SecdistConfig
 Client to retrieve credentials from the components::Secdist. More...
 
class  storages::secdist::Secdist
 Client to retrieve credentials from the components::Secdist and to subscribe to their updates. More...
 
class  storages::mongo::Pool
 MongoDB client pool. More...
 
class  storages::postgres::Cluster
 Interface for executing queries on a cluster of PostgreSQL servers. More...
 
class  storages::redis::Client
 Redis client. More...
 
class  storages::clickhouse::Cluster
 Interface for executing queries on a cluster of ClickHouse servers. More...
 
class  urabbitmq::Client
 Interface for communicating with a RabbitMQ cluster. More...
 

Detailed Description

Clients are classes that provide interfaces for requesting and retrieving data usually from remove server.

All the clients are asynchronous. In other words, a request suspends the current engine::Task and other coroutines are processed on the task processor. The suspended task resumes execution on the task processor after the data was retrieved.

It is a common practice to return references or smart pointers to clients from a component. In such cases:


Component system | HTTP Handlers