#include <userver/ugrpc/client/client_factory.hpp>
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) |
Client ugrpc::client::ClientFactory::MakeClient | ( | const std::string & | client_name, |
const std::string & | endpoint ) |
Definition at line 85 of file client_factory.hpp.