Skip to content

doc & config bug fix

Latest
Compare
Choose a tag to compare
@lanlin lanlin released this 26 Jul 09:08
  1. add swoole/ide-helper doc.

  2. 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