腾讯云的 CMQ PHP SDK QCloud CMQ SDK

码农软件 · 软件分类 · 其他开发相关 · 2019-10-16 14:59:53

软件介绍

qcloud-cmq

这个 SDK 是用在腾讯云,CMQ 消息服务上的。支持同步、异步模式。

安装

最好通过 composer 进行安装

运行

php composer.phar require --prefer-dist xutl/qcloud-cmq

或添加

"xutl/qcloud-cmq": "~1.0"

到 composer.json 文件的所需部分。

使用

use XuTL\QCloud\Cmq\Client;

$client = new Client('https://cmq-queue-bj.api.qcloud.com','abcdedgasdf','abcdedgasdf');
$request = new \XuTL\QCloud\Cmq\Requests\ListTopicRequest();
try {
    $response = $client->listTopic($request);
    print_r($response);
} catch (Exception $e) {
    print_r($e->getMessage());
}

本文地址:https://codercto.com/soft/d/16888.html

Head Rush Ajax

Head Rush Ajax

Brett McLaughlin、Eric Freeman、Elisabeth Freeman / O'Reilly Media, Inc. / 2006-03-01 / USD 34.99

Ajax, or Asynchronous JavaScript and XML, is a term describing the latest rage in web development. Ajax is used to create interactive web applications with XML-based web services, and using JavaScript......一起来看看 《Head Rush Ajax》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具