Please answer these questions before submitting your issue. Thanks!
php -v and php --ri swoole)php -v
PHP 7.2.4 (cli) (built: Apr 12 2018 02:49:37) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.4, Copyright (c) 1999-2018, by Zend Technologies
php --ri swoole
swoole
swoole support => enabled
Version => 1.10.5
Author => tianfeng.han[email: [email protected]]
kqueue => enabled
rwlock => enabled
async http/websocket client => enabled
http2 => enabled
pcre => enabled
zlib => enabled
Please provide your Laravel/Lumen version.
Laravel 5.6.17
Which release version of this package are you using?
2.3.8
What did you do? If possible, provide a recipe for reproducing the error.
Set SWOOLE_HTTP_WEBSOCKET in .env to false.
What did you expect to see?
/socket.io routes not to be registered
What did you see instead?
/socket.io routes being registered.
Hi @benpoulson ,
Thanks for your reporting, I will make it not require socket.io routes if websocket mode is off in the next release.
@albertcht Thanks for the quick response!
And thanks for all the great work you've put into this project. :) You're really helping the Laravel community with this!
Hi @benpoulson ,
This feature has been added in release v2.3.9. You can go check it out.
Most helpful comment
Hi @benpoulson ,
Thanks for your reporting, I will make it not require
socket.ioroutes if websocket mode is off in the next release.