userver: userver/ugrpc/client/client_factory.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
client_factory.hpp File Reference

Creates generated gRPC clients. Has a minimal built-in channel cache: as long as a channel to the same endpoint is used somewhere, the same channel is given out. More...

#include <cstddef>
#include <grpcpp/completion_queue.h>
#include <grpcpp/security/credentials.h>
#include <grpcpp/support/channel_arguments.h>
#include <userver/dynamic_config/source.hpp>
#include <userver/engine/task/task_processor_fwd.hpp>
#include <userver/logging/level.hpp>
#include <userver/testsuite/grpc_control.hpp>
#include <userver/utils/statistics/fwd.hpp>
#include <userver/yaml_config/fwd.hpp>
#include <userver/ugrpc/client/impl/channel_cache.hpp>
#include <userver/ugrpc/client/impl/client_data.hpp>
#include <userver/ugrpc/client/middlewares/base.hpp>
#include <userver/ugrpc/impl/statistics_storage.hpp>
+ Include dependency graph for client_factory.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ugrpc::client::ClientFactoryConfig
 Settings relating to the ClientFactory. More...
 
class  ugrpc::client::ClientFactory
 Creates generated gRPC clients. Has a minimal built-in channel cache: as long as a channel to the same endpoint is used somewhere, the same channel is given out. More...
 

Namespaces

namespace  ugrpc
 Asynchronous gRPC driver.
 
namespace  ugrpc::client
 Client-side utilities.
 

Functions

ClientFactoryConfig ugrpc::client::Parse (const yaml_config::YamlConfig &value, formats::parse::To< ClientFactoryConfig >)
 

Detailed Description

Creates generated gRPC clients. Has a minimal built-in channel cache: as long as a channel to the same endpoint is used somewhere, the same channel is given out.

Definition in file client_factory.hpp.