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

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

Detailed Description

Settings relating to the ClientFactory.

Definition at line 30 of file client_factory.hpp.

+ Collaboration diagram for ugrpc::client::ClientFactorySettings:

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}
 

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 42 of file client_factory.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 50 of file client_factory.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 38 of file client_factory.hpp.

◆ credentials

std::shared_ptr<grpc::ChannelCredentials> ugrpc::client::ClientFactorySettings::credentials
Initial value:
{
grpc::InsecureChannelCredentials()}

gRPC channel credentials, none by default

Definition at line 32 of file client_factory.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 46 of file client_factory.hpp.


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