#include <userver/ugrpc/client/client_factory.hpp>
Settings relating to creation of a code-generated client.
Definition at line 37 of file client_factory.hpp.
Public Attributes | |
std::string | client_name |
std::string | endpoint |
const dynamic_config::Key< ClientQos > * | client_qos {nullptr} |
DedicatedMethodsConfig | dedicated_methods_config {} |
std::string ugrpc::client::ClientSettings::client_name |
**(Required)** The name of the client, for diagnostics, credentials and middlewares.
Definition at line 40 of file client_factory.hpp.
const dynamic_config::Key<ClientQos>* ugrpc::client::ClientSettings::client_qos {nullptr} |
**(Optional)** The name of the QOS dynamic config that will be applied automatically to every RPC.
Timeout from QOS config is ignored if:
qos
parameter is specified at RPC creation, orclient_context
passed at RPC creation.Definition at line 62 of file client_factory.hpp.
DedicatedMethodsConfig ugrpc::client::ClientSettings::dedicated_methods_config {} |
**(Optional)** Dedicated high-load methods that have separate channels
Definition at line 66 of file client_factory.hpp.
std::string ugrpc::client::ClientSettings::endpoint |
**(Required)** The URI to connect to, e.g. http://my.domain.com:8080
. Should not include any HTTP path, just schema, domain name and port. Unix sockets are also supported. For details, see: https://grpc.github.io/grpc/cpp/md_doc_naming.html
Definition at line 47 of file client_factory.hpp.