Albert Chen

Results 10 comments of Albert Chen

Hi @Arkanius , What is your expected result? Can't understand your question yet. ```php Websocket::on('example', function ($websocket, $data) { $websocket->toUserId([1])->emit('notification', 'only for you message id: 1'); }); ``` > It...

Hi @ddzobov and @Arkanius , Well, basically you can share any singleton instances in the same worker. Swoole HTTP server generated several workers for incoming requests according to your settings....

You can build your websocket server without broadcasting feature in Laravel at all. Please refer to https://github.com/swooletw/laravel-swoole/wiki/7.-Websocket

Hi, sorry for the late reply, Laravel's broadcasting relies on a third party service to broadcast the message. For example, Laravel needs Redis as a broker to pub/sub message between...

@happiness9721 , Do you call the websocket instance in the swoole server and turn on websocket mode?

You can refer to this package: https://github.com/albertcht/invisible-recaptcha It can help you integrate invisible recaptcha to your projects more efficiently!

Hi @pinheadmz , I've tried to add `--bare` but still failed many times. I got `There was an error submitting your airdrop to Handshake. If you're confident this airdrop has...

Hi @rithvikvibhu , Thanks for your reply. However, I'm pretty sure I haven't claimed the airdrop successfully and didn't see the reward on my nambase's wallet either. Is there any...

Hi @pinheadmz , @rithvikvibhu , @johnnywu-namebase , I've waited over than 2 days and it seems still doesn't work. The status in namebase's dashboard is always `Airdrop: waiting for airdrop...