定制 timiki/rpc-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

timiki/rpc-client

最新稳定版本:4.1.1

Composer 安装命令:

composer require timiki/rpc-client

包简介

Simple HTTP JSON-RPC client

README 文档

README

Install

composer require timiki/rpc-client

Options

attempts_on_error (int) - Count of attempts on connection or response error (default: 10)

attempts_on_response_error (bool) - Attempt on response error (default: false)

attempts_delay (int) - Delay in msec between attempts (default: 1000)

response_on_connection_exception (bool) - If set true client return JsonResponse on connection exception (default: true)

Async

JSON-RPC Http client use guzzlehttp/promises for call async function

callAsync(string $method, array $params = [], array $headers = []): Promise

noticeAsync(string $method, array $params = [], array $headers = []): Promise

统计信息

  • 总下载量: 41.5k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-01