| 448 | // Context CreateClient for service client class |
| 449 | template <class TServiceClient> |
| 450 | inline TServiceClient Context::CreateClient(std::string_view service_name, std::source_location loc) { |
| 451 | TServiceClient client; |
| 452 | client.Init(shared_from_this(), std::string(service_name)); |
| 453 | return client; |
| 454 | } |
| 455 | |
| 456 | template <class Q, class P, concepts::RawClient<Q, P> TClient> |
| 457 | res::Client<Q, P> OpCli::Init(std::string_view service_name, TClient&& client) { |