-
php扩展当然也能用,但是Yii都有专门的扩展,Laravel扩展为什么没有呢?github上倒是有几个第三方的laravel-hprose,但是现在Laravel6.x全都安装不了了
-
-
1、客户端传参的时候(设置options)使用这种方式
$options增加需要的参数,如
`$options[]=['token'=>$token];`
然后这样发起请求
`$client->$action(...$options);`
服务端的$action会接受到所有的$options参数,但其中新增的token会被传递给$action,当有默认值时会引起错误
2、服务端过滤掉自…
yjtec updated
4 years ago
-
用谷歌浏览器调试,出现错误TCP Socket is not supported by this browser or platform
`var client = new hprose.TcpClient("tcp://xxx.xxx.xxx.xxx:1314", ["hello"]);
client.subscribe('news', function(news) {
…
-
我是按照这里配置的
https://www.jianshu.com/p/f028c230174c
环境是
laravel5.6
php7
我的请求地址是http://www.qingfen.com/api/service,因为我把laravel虚拟主机的入口设置成www.qingfen.com了,测试的时候没有出现“Fa1{s5”test”}z”
我的
-
首先感谢这么好的代码,开发分布式很好用。
但我在使用中有个疑问,推送消息的发布有 publish,但没有找到unpublish算法。
这样发布的资源没有办法回收,担心长时间会遇到问题。
-
我在Filter里进行了压缩加密处理
在服务端catch不到的错误,hp会返回给客户端,但是似乎没有经过Filter,这时客户端的Filter就会对$data处理失败
请问这种情况该怎么解决?
hprose版本是2.0.39
-
获取方法列表时返回的是乱码
![image](https://user-images.githubusercontent.com/6354958/83507163-c1e4d480-a4fa-11ea-892a-fafa4b583b72.png)
-
Is there a way to utilize this sandbox to re-define internal functions as desired?
Kind regards, Ingwie
-
比如像swoole中 worker_num