#include <userver/ugrpc/client/client_factory_settings.hpp>
Settings relating to the ClientFactory.
Definition at line 19 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 {} |
std::optional< std::string > | default_service_config |
std::size_t | channel_count {1} |
grpc::ChannelArguments ugrpc::client::ClientFactorySettings::channel_args {} |
Optional grpc-core channel args
Definition at line 29 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 37 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 25 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 21 of file client_factory_settings.hpp.
std::optional<std::string> ugrpc::client::ClientFactorySettings::default_service_config |
service config
Definition at line 33 of file client_factory_settings.hpp.