#include <userver/ugrpc/client/simple_client_component.hpp>
Template class for a simple gRPC client.
The component is used as a storage of a gRPC client if you're OK with generated client and don't need to wrap it. The client can be fetched using GetClient method.
Example usage:
Definition at line 58 of file simple_client_component.hpp.
 Inheritance diagram for ugrpc::client::SimpleClientComponent< Client >:
 Collaboration diagram for ugrpc::client::SimpleClientComponent< Client >:Public Member Functions | |
| SimpleClientComponent (const components::ComponentConfig &config, const components::ComponentContext &context) | |
| Client & | GetClient () | 
| @brief Get gRPC service client   | |
      
  | 
  inline | 
Definition at line 60 of file simple_client_component.hpp.
      
  | 
  inline | 
@brief Get gRPC service client
Definition at line 72 of file simple_client_component.hpp.