#include <userver/ugrpc/client/client_factory_settings.hpp>
Settings relating to the ClientFactory.
Definition at line 23 of file client_factory_settings.hpp.
Public Attributes | |
std::shared_ptr< grpc::ChannelCredentials > | credentials {grpc::InsecureChannelCredentials()} |
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 33 of file client_factory_settings.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 41 of file client_factory_settings.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 29 of file client_factory_settings.hpp.
std::shared_ptr<grpc::ChannelCredentials> ugrpc::client::ClientFactorySettings::credentials {grpc::InsecureChannelCredentials()} |
gRPC channel credentials, none by default
Definition at line 25 of file client_factory_settings.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 37 of file client_factory_settings.hpp.