userver: ugrpc::client::ClientFactory Class Reference
No Matches
ugrpc::client::ClientFactory Class Referencefinal

#include <userver/ugrpc/client/client_factory.hpp>

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 at line 56 of file client_factory.hpp.

Public Member Functions

 ClientFactory (ClientFactorySettings &&settings, engine::TaskProcessor &channel_task_processor, MiddlewareFactories mws, grpc::CompletionQueue &queue, utils::statistics::Storage &statistics_storage, testsuite::GrpcControl &testsuite_grpc, dynamic_config::Source source)
template<typename Client >
Client MakeClient (const std::string &client_name, const std::string &endpoint)

Member Function Documentation

◆ MakeClient()

template<typename Client >
Client ugrpc::client::ClientFactory::MakeClient ( const std::string & client_name,
const std::string & endpoint )

Definition at line 85 of file client_factory.hpp.

The documentation for this class was generated from the following file: