antanasga/xmlrpcclient
Composer 安装命令:
composer require antanasga/xmlrpcclient
包简介
Easy way to make XMLRPC client requests
README 文档
README
Easy way to make XMLRPC client requests
Documentation
instalation
installation using composer:
"require": { "AntanasGa/XmlRpcClient": "^0.1.0" }
Usage
Interfaces trough Client class.
__construct - takes string value of server URL and request timeout time in seconds (default is 30 secs)
__call - call is used for sending requests to XMLRPC server, method name sets <methodname>
errorInfo - method returns AntanasGa\XmlRpcDecode\ResponseError object with faultCode and faultString values
use AntanasGa\XmlRpcClient\Client; $connection = new Client('http://localhost:8069'); $response = $connection->posts('search'); if ($connection->errorInfo() !== null) { // handle error }
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-25