-
add swoole/ide-helper doc.
-
custom server socket type:
// default
$swoole['server_type'] = SWOOLE_SOCK_UNIX_STREAM;
$swoole['server_host'] = '/var/run/swoole.sock';
$swoole['server_port'] = null;
// example for custom
$swoole['server_type'] = SWOOLE_SOCK_TCP;
$swoole['server_host'] = '127.0.0.1';
$swoole['server_port'] = 9501;
for more about swoole server https://wiki.swoole.com/wiki/page/476.html