Abbotton
Abbotton
感谢反馈,您可以提交一个PR。我最近比较忙,抽时间会处理一下这几个issue.
扩展启用了吗?
@Acollty 贴一下代码,谢谢。
没使用过这个扩展,我看一下吧.
The document is very clear. [see here](https://github.com/swooletw/laravel-swoole/wiki/7.-Websocket#authenticated-user-binding) eg: ```php // routes/web.php use SwooleTW\Http\Websocket\Facades\Websocket; Route::get('test', function(){ $userId = Websocket::getUserId(); Websocket::toUserId($userId)->emit('message', 'hi there'); }); ```
官方还不合并这个PR,是不是在等菜的了?接口跟文档不一致,哎呀,真是坑,折腾了两小时。
请问问题解决了吗?
It doesn't matter, I have solved this problem. Thank you very much for your reply 🤝 . @luceos
今天刚解决这个问题, 需要升级一下系统的curl版本, 保持版本在7.34.0及以后的版本.
又尝试了一下, 设置了`max-size="{{2*1024*1024}}"`属性后,超过设置大小的图片已经无法上传, 但又报了另外一个错误 