方法列表

SSL/TLS

低于1.9.5版本在设置ssl_key_file后会自动启用SSL

$client = new Swoole\Client(SWOOLE_TCP | SWOOLE_ASYNC | SWOOLE_SSL);