userver: ugrpc::client::ClientFactorySettings Struct Reference
Loading...
Searching...
No Matches
ugrpc::client::ClientFactorySettings Struct Referencefinal

#include <userver/ugrpc/client/client_factory_settings.hpp>

Detailed Description

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}
 

Member Data Documentation

◆ channel_args

grpc::ChannelArguments ugrpc::client::ClientFactorySettings::channel_args {}

Optional grpc-core channel args

See also
https://grpc.github.io/grpc/core/group__grpc__arg__keys.html

Definition at line 33 of file client_factory_settings.hpp.

◆ channel_count

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.

◆ client_credentials

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.

◆ credentials

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.

◆ native_log_level

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.


The documentation for this struct was generated from the following file: