swooletw / laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
MIT License
4.04k stars 390 forks source link

How to use JSON in websocket #509

Closed g88827929g closed 2 years ago

g88827929g commented 2 years ago

Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)

  1. Please provide your PHP and Swoole version. (php -v and php --ri swoole)

PHP7.4.25

  1. Please provide your Laravel/Lumen version. Laravel8

  2. Which release version of this package are you using?

  3. What did you do? If possible, provide a recipe for reproducing the error.

  4. What did you expect to see?

  5. What did you see instead?