Swoole Hook TLS

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]);