public function get_rpc_client($url)
    {
        if ($this->isSingle()) {
            include_once Lb::app()->getRootDir() . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'hprose' .
            DIRECTORY_SEPARATOR . 'hprose' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Hprose.php';
            return new \Hprose\Http\Client($url);
        }
        return false;
    }
public function get_rpc_client($url)
    {
        if ($this->isSingle()) {
            include_once Lb::app()->getRootDir() . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'hprose' .
            DIRECTORY_SEPARATOR . 'hprose' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Hprose.php';
            return new \Hprose\Http\Client($url);
        }
        return false;
    }
public function get_rpc_client ( $ url ) { if ( $ this -> isSingle ( ) ) { include_once Lb :: app ( ) -> getRootDir ( ) . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'hprose' . DIRECTORY_SEPARATOR . 'hprose' . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . 'Hprose.php' ; return new \ Hprose \ Http \ Client ( $ url ) ; } return false ; }
Get RPC Client
Get RPC Client