Swoole Hook TLS

Notice: ext-swoole is supported until v4.7.1, use ext-openswoole >= v4.7.1. Latest version: pecl install openswoole-4.10.0

The SWOOLE_HOOK_TLS flag will enable coroutine support for TLS sockets and streams. Support was added in v4.2.0.

Example

<?php

Co::set(['hook_flags' => SWOOLE_HOOK_TLS]);