#include <userver/ugrpc/client/client_factory.hpp>
Settings relating to the ClientFactory.
Definition at line 30 of file client_factory.hpp.
Public Attributes | |
std::shared_ptr< grpc::ChannelCredentials > | credentials |
gRPC channel credentials, none by default | |
std::unordered_map< std::string, std::shared_ptr< grpc::ChannelCredentials > > | client_credentials {} |
grpc::ChannelArguments | channel_args {} |
logging::Level | native_log_level {logging::Level::kError} |
std::size_t | channel_count {1} |
grpc::ChannelArguments ugrpc::client::ClientFactorySettings::channel_args {} |
Optional grpc-core channel args
Definition at line 42 of file client_factory.hpp.
std::size_t ugrpc::client::ClientFactorySettings::channel_count {1} |
Number of underlying channels that will be created for every client in this factory.
Definition at line 50 of file client_factory.hpp.
std::unordered_map<std::string, std::shared_ptr<grpc::ChannelCredentials> > ugrpc::client::ClientFactorySettings::client_credentials {} |
gRPC channel credentials by client_name. If not set, default credentials
is used instead.
Definition at line 38 of file client_factory.hpp.
std::shared_ptr<grpc::ChannelCredentials> ugrpc::client::ClientFactorySettings::credentials |
gRPC channel credentials, none by default
Definition at line 32 of file client_factory.hpp.
logging::Level ugrpc::client::ClientFactorySettings::native_log_level {logging::Level::kError} |
The logging level override for the internal grpcpp library. Must be either kDebug
, kInfo
or kError
.
Definition at line 46 of file client_factory.hpp.