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 <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.
- Examples
- samples/grpc_service/grpc_service.cpp.
Definition at line 53 of file client_factory.hpp.
◆ MakeClient()
template<typename Client >
Client ugrpc::client::ClientFactory::MakeClient |
( |
const std::string & |
client_name, |
|
|
const std::string & |
endpoint |
|
) |
| |
The documentation for this class was generated from the following file: