viktorprogger/async-soap-guzzle
Composer 安装命令:
composer require viktorprogger/async-soap-guzzle
包简介
An asynchronous SOAP client build on top of Guzzle.
关键字:
README 文档
README
An asynchronous SOAP client build on top of Guzzle. The SoapClient implements meng-tian/php-async-soap.
Requirement
PHP 5.5 --enablelibxml --enable-soap
Install
composer require meng-tian/async-soap-guzzle
Usage
use GuzzleHttp\Client; use Meng\AsyncSoap\Guzzle\Factory; $factory = new Factory(); $client = $factory->create(new Client(), 'http://www.webservicex.net/Statistics.asmx?WSDL'); // async call $promise = $client->callAsync('GetStatistics', [['X' => [1,2,3]]]); $result = $promise->wait(); // sync call $result = $client->call('GetStatistics', [['X' => [1,2,3]]]); // magic method $promise = $client->GetStatistics(['X' => [1,2,3]]); $result = $promise->wait();
License
This library is released under MIT license.
统计信息
- 总下载量: 44
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-11-25