Download the PHP package youthage/httpsqs without Composer
On this page you can find all versions of the php package youthage/httpsqs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package httpsqs
HttpSQS (基于HTTP协议的简单队列服务-ps:新公司项目有使用此包,原作者包安装有问题,此为修改) 使用示例
安装
$ composer require youthage/httpsqs
初始化操作
入队操作
$httpsqs->put('test','example1'); //true
出队操作
可以使用get()
方法,该方法只返回队列中的值:
也可以使用gets()
方法,该方法不仅返回队列中的值还有该值对应的位置:
查看队列状态
默认返回的结果是字符串形式:
也支持json格式:
返回:
查看队列指定位置的值
重置指定队列
更改指定队列的最大队列数量,默认 100万条
不停止服务的情况下,修改定时刷新内存缓冲区内容到磁盘的间隔时间
All versions of httpsqs with dependencies
PHP Build Version
Package Version
No informations.
The package youthage/httpsqs contains the following files
Loading the files please wait ....