# ClientRpcClient.php

RPC客户端

请求单个RPC服务 $user = $this->getObject(RpcClient::class, ['user'])->handler('mobile', $construct)->getByUid($uid);

批量请求多个RPC服务 $rpc[] = $this->getObject(RpcClient::class, ['user'])->handler('mobile', $construct)->func('getByUid', $uid); $rpc[] = $this->getObject(RpcClient::class, ['user'])->handler('mobile', $construct)->func('getByName', $name); $rpc[] = $this->getObject(RpcClient::class, ['user'])->handler('mobile', $construct)->func('getByEmail', $email); $users = RpcClient::goConcurrent($rpc);

## Classes

RpcClient | Class RpcClient

Package
  \Default

## Tags

author | camera360_server@camera360.com
copyright | Chengdu pinguo Technology Co.,Ltd.

###