Are you kidding me?
EasySwoole had always supported HTTP 2.
First, when compiling and installing swoole, you must turn on the option --enable-http2. For details, please see https://wiki.swoole.com/#/environment?id=-enable-http2.
Second, you only need to make simple settings and modify the configuration file dev.php/produce.php, as shown below:
Are you kidding me? EasySwoole had always supported HTTP 2. First, when compiling and installing swoole, you must turn on the option
--enable-http2
. For details, please see https://wiki.swoole.com/#/environment?id=-enable-http2.Second, you only need to make simple settings and modify the configuration file dev.php/produce.php, as shown below: